Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
fix: Fix logging statement that logs empty strings (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-simons authored Apr 11, 2023
1 parent bbde824 commit 8e6d214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/extender/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func filterNodesToZone(ctx context.Context, initialNodes []*v1.Node, zone string
}

func getNodeNames(nodes []*v1.Node) []string {
nodeNames := make([]string, len(nodes))
nodeNames := make([]string, 0, len(nodes))
for _, node := range nodes {
nodeNames = append(nodeNames, node.Name)
}
Expand Down

0 comments on commit 8e6d214

Please sign in to comment.