This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch 1.5
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/1.5 by this push:
new 2f04751 nacos for service_discovery support namespace
new 8a65bdf Merge pull request #1127 from Malvin666/patch-1
2f04751 is described below
commit 2f04751879c56f92c0c24fba3f74cb50047ad02e
Author: Malvin666 <[email protected]>
AuthorDate: Fri Apr 2 14:36:02 2021 +0800
nacos for service_discovery support namespace
---
remoting/nacos/builder.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/remoting/nacos/builder.go b/remoting/nacos/builder.go
index 8a247e2..b5c6530 100644
--- a/remoting/nacos/builder.go
+++ b/remoting/nacos/builder.go
@@ -124,6 +124,7 @@ func NewNacosClient(rc *config.RemoteConfig)
(naming_client.INamingClient, error
clientConfig.Username = rc.Username
clientConfig.Password = rc.Password
clientConfig.NotLoadCacheAtStart = true
+ clientConfig.NamespaceId = rc.GetParam(constant.NACOS_NAMESPACE_ID, "")
configMap["clientConfig"] = clientConfig
return clients.CreateNamingClient(configMap)