mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint error for GetComponentStates in QueryCoord (#10810)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/10816/head
parent
ac7e770921
commit
e0f46752e9
internal/distributed/querycoord
|
@ -248,6 +248,7 @@ func (s *Server) SetDataCoord(d types.DataCoord) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetComponentStates gets the component states of QueryCoord.
|
||||||
func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
||||||
return s.queryCoord.GetComponentStates(ctx)
|
return s.queryCoord.GetComponentStates(ctx)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue