未验证 提交 fb71fd52 编写于 作者: G groot 提交者: GitHub

[skip ci] Typo (#10823)

Signed-off-by: Nyhmo <yihua.mo@zilliz.com>
上级 bad79d91
...@@ -349,7 +349,7 @@ func (mr *MilvusRoles) Run(localMsg bool, alias string) { ...@@ -349,7 +349,7 @@ func (mr *MilvusRoles) Run(localMsg bool, alias string) {
} else { } else {
err := os.Setenv(metricsinfo.DeployModeEnvKey, metricsinfo.ClusterDeployMode) err := os.Setenv(metricsinfo.DeployModeEnvKey, metricsinfo.ClusterDeployMode)
if err != nil { if err != nil {
log.Error("failed to set deploy mode: ", zap.Error(err)) log.Error("Failed to set deploy mode: ", zap.Error(err))
} }
} }
...@@ -449,7 +449,7 @@ func (mr *MilvusRoles) Run(localMsg bool, alias string) { ...@@ -449,7 +449,7 @@ func (mr *MilvusRoles) Run(localMsg bool, alias string) {
w.Header().Set(healthz.ContentTypeHeader, healthz.ContentTypeText) w.Header().Set(healthz.ContentTypeHeader, healthz.ContentTypeText)
_, err := fmt.Fprint(w, "OK") _, err := fmt.Fprint(w, "OK")
if err != nil { if err != nil {
log.Warn("failed to send response", log.Warn("Failed to send response",
zap.Error(err)) zap.Error(err))
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册