mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +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
@ -123,6 +123,7 @@ func (p *EtcdConfig) Init(base *BaseTable) {
|
|||||||
|
|
||||||
p.ConfigPath = ParamItem{
|
p.ConfigPath = ParamItem{
|
||||||
Key: "etcd.config.path",
|
Key: "etcd.config.path",
|
||||||
|
DefaultValue: "",
|
||||||
Version: "2.1.0",
|
Version: "2.1.0",
|
||||||
}
|
}
|
||||||
p.ConfigPath.Init(base.mgr)
|
p.ConfigPath.Init(base.mgr)
|
||||||
@ -134,13 +135,6 @@ func (p *EtcdConfig) Init(base *BaseTable) {
|
|||||||
}
|
}
|
||||||
p.DataDir.Init(base.mgr)
|
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{
|
p.RootPath = ParamItem{
|
||||||
Key: "etcd.rootPath",
|
Key: "etcd.rootPath",
|
||||||
Version: "2.0.0",
|
Version: "2.0.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user