mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip-ci]Fix golint in cmd data_coord (#8692)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
8b0e4d5a09
commit
892991ee61
@ -20,6 +20,7 @@ import (
|
||||
"github.com/milvus-io/milvus/internal/msgstream"
|
||||
)
|
||||
|
||||
// DataCoord implements grpc server of DataCoord server
|
||||
type DataCoord struct {
|
||||
ctx context.Context
|
||||
svr *grpcdatacoordclient.Server
|
||||
@ -54,6 +55,7 @@ func (s *DataCoord) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetComponentStates returns DataCoord's states
|
||||
func (s *DataCoord) GetComponentStates(ctx context.Context, request *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
||||
return s.svr.GetComponentStates(ctx, request)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user