diff --git a/internal/util/paramtable/service_param.go b/internal/util/paramtable/service_param.go index f49896dfa7..2c8b7e5a12 100644 --- a/internal/util/paramtable/service_param.go +++ b/internal/util/paramtable/service_param.go @@ -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",