[skip ci]Fix golint error for GetComponentStates in QueryCoord (#10810)

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

View File

@ -248,6 +248,7 @@ func (s *Server) SetDataCoord(d types.DataCoord) error {
return nil
}
// GetComponentStates gets the component states of QueryCoord.
func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
return s.queryCoord.GetComponentStates(ctx)
}