[skip ci]Fix golint error for QueryNode (#9968)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/9984/head
cai.zhang 2021-10-15 17:57:07 +08:00 committed by GitHub
parent bf1ef21c6b
commit 148b26cf40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ func (s *Server) GetStatisticsChannel(ctx context.Context, req *internalpb.GetSt
return s.querynode.GetStatisticsChannel(ctx)
}
// GetComponentStates gets the component states of QueryNode.
func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
// ignore ctx and in
return s.querynode.GetComponentStates(ctx)