Skip to content
Snippets Groups Projects
Commit 608ae856 authored by Malvin666's avatar Malvin666 Committed by AlexStocks
Browse files

nacos for service_discovery support namespace

parent 78bea167
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment