[skip e2e] Modify log text according to naming conventions (#13842)

Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
pull/13682/head
guoxiangzhou 2021-12-21 12:03:22 +08:00 committed by GitHub
parent 094b5f48dc
commit fc6c39cc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ func (s *Server) getDataNodeMetrics(ctx context.Context, req *milvuspb.GetMetric
infos.BaseComponentInfos.Name = metrics.GetComponentName()
if metrics.GetStatus().GetErrorCode() != commonpb.ErrorCode_Success {
log.Warn("invalid metrics of data node was found",
log.Warn("invalid metrics of DataNode was found",
zap.Any("error_code", metrics.Status.ErrorCode),
zap.Any("error_reason", metrics.Status.Reason))
infos.BaseComponentInfos.ErrorReason = metrics.GetStatus().GetReason()