diff --git a/internal/distributed/indexcoord/param_table.go b/internal/distributed/indexcoord/param_table.go index ddccfe6ccc..04f435078c 100644 --- a/internal/distributed/indexcoord/param_table.go +++ b/internal/distributed/indexcoord/param_table.go @@ -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() }