mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 09:08:43 +08:00
Remove repeated etcd endpoint configuration (#21860)
Signed-off-by: jaime <yun.zhang@zilliz.com>
This commit is contained in:
parent
e14f96a8e4
commit
5ed6ae2f27
@ -122,8 +122,9 @@ func (p *EtcdConfig) Init(base *BaseTable) {
|
||||
}
|
||||
|
||||
p.ConfigPath = ParamItem{
|
||||
Key: "etcd.config.path",
|
||||
Version: "2.1.0",
|
||||
Key: "etcd.config.path",
|
||||
DefaultValue: "",
|
||||
Version: "2.1.0",
|
||||
}
|
||||
p.ConfigPath.Init(base.mgr)
|
||||
|
||||
@ -134,13 +135,6 @@ func (p *EtcdConfig) Init(base *BaseTable) {
|
||||
}
|
||||
p.DataDir.Init(base.mgr)
|
||||
|
||||
p.Endpoints = ParamItem{
|
||||
Key: "etcd.endpoints",
|
||||
Version: "2.0.0",
|
||||
PanicIfEmpty: true,
|
||||
}
|
||||
p.Endpoints.Init(base.mgr)
|
||||
|
||||
p.RootPath = ParamItem{
|
||||
Key: "etcd.rootPath",
|
||||
Version: "2.0.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user