提交 825d5e69 编写于 作者: 公众号-芋道源码's avatar 公众号-芋道源码 提交者: peng-yongsheng

Fix ServiceNameCacheGuavaService split error

上级 ec08a291
......@@ -74,7 +74,7 @@ public class ServiceNameCacheGuavaService implements ServiceNameCacheService {
public String getSplitServiceName(String serviceName) {
if (StringUtils.isNotEmpty(serviceName)) {
String[] serviceNames = serviceName.split(Const.ID_SPLIT);
String[] serviceNames = serviceName.split(Const.ID_SPLIT, 2);
if (serviceNames.length == 2) {
return serviceNames[1];
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册