Skip to content

Commit

Permalink
Merge pull request kubernetes#27664 from Clarifai/automated-cherry-pi…
Browse files Browse the repository at this point in the history
…ck-of-#26331-upstream-release-1.2

Fix long-standing bug in aws.stringSetToPointers
  • Loading branch information
roberthbailey authored Jun 20, 2016
2 parents e1ce474 + d22e866 commit 786036a
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 786036a

Please sign in to comment.