[skip ci]Fix golint error for ReleaseSegments in QueryNode (#10064)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/10130/head
cai.zhang 2021-10-18 20:20:53 +08:00 committed by GitHub
parent aba26a888a
commit cbb8236c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ func (s *Server) ReleasePartitions(ctx context.Context, req *querypb.ReleasePart
return s.querynode.ReleasePartitions(ctx, req)
}
// ReleaseSegments releases the data of the specified segments in QueryNode.
func (s *Server) ReleaseSegments(ctx context.Context, req *querypb.ReleaseSegmentsRequest) (*commonpb.Status, error) {
// ignore ctx
return s.querynode.ReleaseSegments(ctx, req)