From e9f3fa42643887f78315528afe86b5d0225bc61b Mon Sep 17 00:00:00 2001 From: nayutah Date: Wed, 23 Nov 2022 16:20:18 +0800 Subject: [PATCH] fix: correct spelling of AssignPrivateIpAddresses --- .../cloud/mocks/provider_mocks.go | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/internal/loadbalancer/cloud/mocks/provider_mocks.go b/internal/loadbalancer/cloud/mocks/provider_mocks.go index 212bc7797..254916aaa 100644 --- a/internal/loadbalancer/cloud/mocks/provider_mocks.go +++ b/internal/loadbalancer/cloud/mocks/provider_mocks.go @@ -1,19 +1,3 @@ -/* -Copyright ApeCloud Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - // Code generated by MockGen. DO NOT EDIT. // Source: github.com/apecloud/kubeblocks/internal/loadbalancer/cloud (interfaces: Provider) @@ -23,9 +7,8 @@ package mock_cloud import ( reflect "reflect" - gomock "github.com/golang/mock/gomock" - cloud "github.com/apecloud/kubeblocks/internal/loadbalancer/cloud" + gomock "github.com/golang/mock/gomock" ) // MockProvider is a mock of Provider interface. @@ -66,7 +49,7 @@ func (mr *MockProviderMockRecorder) AllocIPAddresses(arg0 interface{}) *gomock.C return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllocIPAddresses", reflect.TypeOf((*MockProvider)(nil).AllocIPAddresses), arg0) } -// AssignPrivateIpAddresses mocks base method. +// AssignPrivateIPAddresses mocks base method. func (m *MockProvider) AssignPrivateIPAddresses(arg0, arg1 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AssignPrivateIPAddresses", arg0, arg1) @@ -74,8 +57,8 @@ func (m *MockProvider) AssignPrivateIPAddresses(arg0, arg1 string) error { return ret0 } -// AssignPrivateIpAddresses indicates an expected call of AssignPrivateIpAddresses. -func (mr *MockProviderMockRecorder) AssignPrivateIpAddresses(arg0, arg1 interface{}) *gomock.Call { +// AssignPrivateIPAddresses indicates an expected call of AssignPrivateIPAddresses. +func (mr *MockProviderMockRecorder) AssignPrivateIPAddresses(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AssignPrivateIPAddresses", reflect.TypeOf((*MockProvider)(nil).AssignPrivateIPAddresses), arg0, arg1) }