mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
[skip ci]Fix golint error for HasPartition in rootcoord (#11850)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
a7be2e1943
commit
2ea70b6ead
@ -335,6 +335,7 @@ func (s *Server) DropPartition(ctx context.Context, in *milvuspb.DropPartitionRe
|
|||||||
return s.rootCoord.DropPartition(ctx, in)
|
return s.rootCoord.DropPartition(ctx, in)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HasPartition checks whether a partition is created.
|
||||||
func (s *Server) HasPartition(ctx context.Context, in *milvuspb.HasPartitionRequest) (*milvuspb.BoolResponse, error) {
|
func (s *Server) HasPartition(ctx context.Context, in *milvuspb.HasPartitionRequest) (*milvuspb.BoolResponse, error) {
|
||||||
return s.rootCoord.HasPartition(ctx, in)
|
return s.rootCoord.HasPartition(ctx, in)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user