This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/develop by this push:
new 530f13deb remove the config of config_center (#3202)
530f13deb is described below
commit 530f13deb89b8b3b51e253c1c14e6d83ba64aa73
Author: nanjiek <[email protected]>
AuthorDate: Mon Feb 9 10:11:36 2026 +0800
remove the config of config_center (#3202)
---
config_center/zookeeper/impl.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/config_center/zookeeper/impl.go b/config_center/zookeeper/impl.go
index 1544706cf..7ab134aac 100644
--- a/config_center/zookeeper/impl.go
+++ b/config_center/zookeeper/impl.go
@@ -39,7 +39,6 @@ import (
import (
"dubbo.apache.org/dubbo-go/v3/common"
"dubbo.apache.org/dubbo-go/v3/common/constant"
- "dubbo.apache.org/dubbo-go/v3/config"
"dubbo.apache.org/dubbo-go/v3/config_center"
"dubbo.apache.org/dubbo-go/v3/config_center/parser"
"dubbo.apache.org/dubbo-go/v3/remoting/zookeeper"
@@ -73,7 +72,7 @@ func newZookeeperDynamicConfiguration(url *common.URL)
(*zookeeperDynamicConfigu
rootPath: "/dubbo/config",
}
logger.Infof("[Zookeeper ConfigCenter] New Zookeeper ConfigCenter with
Configuration: %+v, url = %+v", c, c.GetURL())
- if v, ok := config.GetRootConfig().ConfigCenter.Params["base64"]; ok {
+ if v := url.GetParam("base64", ""); v != "" {
base64Enabled, err := strconv.ParseBool(v)
if err != nil {
panic("value of base64 must be bool, error=" +
err.Error())