[skip ci]Fix golint error for GetComponentStates in rootcoord (#11848)

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

View File

@ -285,6 +285,7 @@ func (s *Server) Stop() error {
return nil
}
// GetComponentStates gets the component states of RootCoord.
func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
return s.rootCoord.GetComponentStates(ctx)
}