mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint in indexnode/param_table.go (#9629)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/9674/head
parent
8702a06252
commit
6938e7b8e6
|
@ -51,10 +51,11 @@ type ParamTable struct {
|
||||||
UpdatedTime time.Time
|
UpdatedTime time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
// Params is an alias for ParamTable.
|
// Params is a package scoped variable of type ParamTable.
|
||||||
var Params ParamTable
|
var Params ParamTable
|
||||||
var once sync.Once
|
var once sync.Once
|
||||||
|
|
||||||
|
// InitAlias initializes an alias for the IndexNode role.
|
||||||
func (pt *ParamTable) InitAlias(alias string) {
|
func (pt *ParamTable) InitAlias(alias string) {
|
||||||
pt.Alias = alias
|
pt.Alias = alias
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue