Skip to content

Commit

Permalink
Merge pull request #758 from feiskyer/fix-756-1.2
Browse files Browse the repository at this point in the history
Ensure azure reference non-empty
  • Loading branch information
bskiba authored Mar 29, 2018
2 parents 2ce5d3a + 7abc3d1 commit cae995a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/azure/azure_scale_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (scaleSet *ScaleSet) Nodes() ([]string, error) {
return nil, err
}

result := make([]string, len(vms))
result := make([]string, 0, len(vms))
for i := range vms {
if len(*vms[i].ID) == 0 {
continue
Expand Down

0 comments on commit cae995a

Please sign in to comment.