mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Add comment for global param (#14926)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
00d06f2562
commit
8b70ae0507
@ -74,6 +74,7 @@ func (p *GlobalParamTable) InitOnce() {
|
||||
})
|
||||
}
|
||||
|
||||
// Init initialize the global param table
|
||||
func (p *GlobalParamTable) Init() {
|
||||
p.BaseParams.Init()
|
||||
|
||||
@ -91,11 +92,13 @@ func (p *GlobalParamTable) Init() {
|
||||
p.IndexNodeCfg.init(&p.BaseParams)
|
||||
}
|
||||
|
||||
// SetLogConfig set log config with given role
|
||||
func (p *GlobalParamTable) SetLogConfig(role string) {
|
||||
p.BaseParams.RoleName = role
|
||||
p.BaseParams.SetLogConfig()
|
||||
}
|
||||
|
||||
// TODO: considering remove it: comment a large block of code is not a good practice, old code can be found with git
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// --- common ---
|
||||
//type commonConfig struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user