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

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/12086/head
cai.zhang 2021-11-18 10:41:25 +08:00 committed by GitHub
parent 330bde23ab
commit 732cb95339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}