mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Merge pull request #346 from carlWangTao/patch-1
Update NacosDiscoveryProperties.java
This commit is contained in:
commit
5d721d1673
@ -149,6 +149,9 @@ public class NacosDiscoveryProperties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
serverAddr = Objects.toString(serverAddr, "");
|
serverAddr = Objects.toString(serverAddr, "");
|
||||||
|
if(serverAddr.lastIndexOf("/") != -1) {
|
||||||
|
serverAddr.substring(0,serverAddr.length()-1);
|
||||||
|
}
|
||||||
endpoint = Objects.toString(endpoint, "");
|
endpoint = Objects.toString(endpoint, "");
|
||||||
namespace = Objects.toString(namespace, "");
|
namespace = Objects.toString(namespace, "");
|
||||||
logName = Objects.toString(logName, "");
|
logName = Objects.toString(logName, "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user