diff --git a/client/client_mock_test.go b/client/client_mock_test.go index 37f3055a..54be833a 100644 --- a/client/client_mock_test.go +++ b/client/client_mock_test.go @@ -256,8 +256,7 @@ const ( MAlterCollection ServiceMethod = 109 MGetLoadingProgress ServiceMethod = 110 MGetLoadState ServiceMethod = 111 - MAlterCollectionField ServiceMethod = 112 - MOperatePrivilegeV2 ServiceMethod = 113 + MOperatePrivilegeV2 ServiceMethod = 112 MCreatePartition ServiceMethod = 201 MDropPartition ServiceMethod = 202 @@ -1096,15 +1095,6 @@ func (m *MockServer) RestoreRBAC(ctx context.Context, req *milvuspb.RestoreRBACM return SuccessStatus() } -func (m *MockServer) AlterCollectionField(ctx context.Context, req *milvuspb.AlterCollectionFieldRequest) (*commonpb.Status, error) { - f := m.GetInjection(MAlterCollectionField) - if f != nil { - r, err := f(ctx, req) - return r.(*commonpb.Status), err - } - return SuccessStatus() -} - func (m *MockServer) CreatePrivilegeGroup(ctx context.Context, req *milvuspb.CreatePrivilegeGroupRequest) (*commonpb.Status, error) { f := m.GetInjection(MCreatePrivilegeGroup) if f != nil {