From 8f880acd93dba55315d86390e7f303e06a40b6a6 Mon Sep 17 00:00:00 2001 From: Marwan Ahmed Date: Wed, 3 Jun 2020 10:30:10 -0700 Subject: [PATCH] fix bad cherry-pick for #3141 --- cluster-autoscaler/cloudprovider/azure/azure_scale_set.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/cloudprovider/azure/azure_scale_set.go b/cluster-autoscaler/cloudprovider/azure/azure_scale_set.go index 00c70fdc8496..6215871e43e7 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_scale_set.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_scale_set.go @@ -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()