[skip e2e] Refine querynode impl comment (#14137)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/14164/head
edward.zeng 2021-12-24 13:26:30 +08:00 committed by GitHub
parent 1af317e3a3
commit 4660edaaf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import (
"github.com/milvus-io/milvus/internal/util/typeutil"
)
// GetComponentStates return information about whether the node is healthy
// GetComponentStates returns information about whether the node is healthy
func (node *QueryNode) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) {
log.Debug("Get QueryNode component states")
stats := &internalpb.ComponentStates{
@ -75,7 +75,7 @@ func (node *QueryNode) GetTimeTickChannel(ctx context.Context) (*milvuspb.String
}, nil
}
// GetStatisticsChannel return the statistics channel
// GetStatisticsChannel returns the statistics channel
// Statistics channel contains statistics infos of query nodes, such as segment infos, memory infos
func (node *QueryNode) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
return &milvuspb.StringResponse{