Skip to content

Commit

Permalink
Merge pull request kubernetes#26331 from Clarifai/kitchensink
Browse files Browse the repository at this point in the history
AWS: Fix long-standing bug in stringSetToPointers
  • Loading branch information
alex-mohr committed May 26, 2016
2 parents 6b169ea + ca8699e commit 0c20ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func stringSetToPointers(in sets.String) []*string {
if in == nil {
return nil
}
out := make([]*string, len(in))
out := make([]*string, 0, len(in))
for k := range in {
out = append(out, aws.String(k))
}
Expand Down

0 comments on commit 0c20ae7

Please sign in to comment.