mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint for LoadFromEnv in indexcoord (#12044)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/12086/head
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…
Reference in New Issue