Skip to content

Commit 5710165

Browse files
committed
return correct error for GetScaleSetVms
1 parent 1ae89b9 commit 5710165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/cloudprovider/azure/azure_scale_set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (scaleSet *ScaleSet) IncreaseSize(delta int) error {
321321
}
322322

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

0 commit comments

Comments
 (0)