Skip to content

Commit

Permalink
Merge pull request #3192 from marwanad/fix-build
Browse files Browse the repository at this point in the history
return correct error type for GetScaleSetVms
  • Loading branch information
k8s-ci-robot authored Jun 4, 2020
2 parents 1ae89b9 + 5710165 commit e057aa2
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 @@ -321,7 +321,7 @@ func (scaleSet *ScaleSet) IncreaseSize(delta int) error {
}

// GetScaleSetVms returns list of nodes for the given scale set.
func (scaleSet *ScaleSet) GetScaleSetVms() ([]compute.VirtualMachineScaleSetVM, error) {
func (scaleSet *ScaleSet) GetScaleSetVms() ([]compute.VirtualMachineScaleSetVM, *retry.Error) {
klog.V(4).Infof("GetScaleSetVms: starts")
ctx, cancel := getContextWithCancel()
defer cancel()
Expand Down

0 comments on commit e057aa2

Please sign in to comment.