提交 bc787c52 编写于 作者: H haocao

Refactor DataSourceService.

上级 121d61ba
......@@ -107,7 +107,7 @@ public final class DataSourceService {
List<String> dataSources = regCenter.getChildrenKeys(dataSourcesNodePath);
for (String each : dataSources) {
if (StateNodeStatus.DISABLED.toString().equalsIgnoreCase(regCenter.get(dataSourcesNodePath + "/" + each))) {
result.add(each.substring(each.lastIndexOf("/") + 1));
result.add(each);
}
}
return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册