Skip to content

Commit

Permalink
fix bad cherry-pick from kubernetes#3141
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanad committed Jun 3, 2020
1 parent 86c4352 commit 04856a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cluster-autoscaler/cloudprovider/azure/azure_fakes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 04856a8

Please sign in to comment.