[skip ci] Add comment for GetComponentStates (#8856)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/8861/head
xige-16 2021-09-29 17:05:58 +08:00 committed by GitHub
parent 4bfa85eda3
commit ec3ede1ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import (
"github.com/milvus-io/milvus/internal/util/metricsinfo"
)
// GetComponentStates return information about whether the coord is healthy
func (qc *QueryCoord) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) {
serviceComponentInfo := &internalpb.ComponentInfo{
NodeID: Params.QueryCoordID,