From 04856a8783e1f75719bcf8b3d4537a45d958431a Mon Sep 17 00:00:00 2001 From: Marwan Ahmed Date: Wed, 3 Jun 2020 10:02:54 -0700 Subject: [PATCH] fix bad cherry-pick from #3141 --- cluster-autoscaler/cloudprovider/azure/azure_fakes.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cluster-autoscaler/cloudprovider/azure/azure_fakes.go b/cluster-autoscaler/cloudprovider/azure/azure_fakes.go index 5b8b530694b2..67c16e228d0d 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_fakes.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_fakes.go @@ -26,7 +26,6 @@ import ( "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources" "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2018-07-01/storage" "github.com/Azure/go-autorest/autorest" - "github.com/avast/retry-go" "github.com/stretchr/testify/mock" ) @@ -131,7 +130,7 @@ func (m *VirtualMachineScaleSetVMsClientMock) Get(ctx context.Context, resourceG } // List gets a list of VirtualMachineScaleSetVMs. -func (m *VirtualMachineScaleSetVMsClientMock) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, expand string) (result []compute.VirtualMachineScaleSetVM, rerr *retry.Error) { +func (m *VirtualMachineScaleSetVMsClientMock) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, expand string) (result []compute.VirtualMachineScaleSetVM, err error) { m.mutex.Lock() defer m.mutex.Unlock()