Skip to content

Commit e057aa2

Browse files
authored
Merge pull request kubernetes#3192 from marwanad/fix-build
return correct error type for GetScaleSetVms
2 parents 1ae89b9 + 5710165 commit e057aa2

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)