[skip ci]Add comment for getMetrics in indexcoord (#13440)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13441/head
cai.zhang 2021-12-15 17:07:10 +08:00 committed by GitHub
parent 2adf06df1d
commit fd9c5203e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ type indexNodeGetMetricsResponse struct {
err error
}
// getMetrics get metrics information of all IndexNode.
func (nm *NodeManager) getMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) []indexNodeGetMetricsResponse {
nm.lock.RLock()
defer nm.lock.RUnlock()