mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Fix golint for LoadFromEnv in indexcoord (#12044)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
330bde23ab
commit
732cb95339
@ -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()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user