[skip ci]Fix golint error for HasPartition in rootcoord (#11850)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-16 09:18:00 +08:00 committed by GitHub
parent a7be2e1943
commit 2ea70b6ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,6 +335,7 @@ func (s *Server) DropPartition(ctx context.Context, in *milvuspb.DropPartitionRe
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) {
return s.rootCoord.HasPartition(ctx, in)
}