未验证 提交 732cb953 编写于 作者: C cai.zhang 提交者: GitHub

[skip ci]Fix golint for LoadFromEnv in indexcoord (#12044)

Signed-off-by: NCai.Zhang <cai.zhang@zilliz.com>
上级 330bde23
......@@ -67,7 +67,7 @@ func (pt *ParamTable) initPort() {
pt.Port = pt.ParseInt("indexCoord.port")
}
// initServiceAddress initializes the address of IndexCoord service.
// LoadFromEnv gets the configuration from environment variables.
func (pt *ParamTable) LoadFromEnv() {
Params.IP = funcutil.GetLocalIP()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册