Merge pull request #558 from didi/master

合并主分支
This commit is contained in:
EricZeng
2022-09-05 17:08:51 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ public class Broker implements Serializable {
return host; return host;
} }
IpPortData ip = endpointMap.get(endPoint); IpPortData ip = endpointMap.get(endPoint);
return ip == null ? ip.getIp() : host; return ip != null ? ip.getIp() : host;
} }
public boolean alive() { public boolean alive() {

View File

@@ -59,7 +59,8 @@
"single-spa": "5.9.3", "single-spa": "5.9.3",
"single-spa-react": "2.14.0", "single-spa-react": "2.14.0",
"webpack-bundle-analyzer": "^4.5.0", "webpack-bundle-analyzer": "^4.5.0",
"knowdesign": "1.3.7" "knowdesign": "1.3.7",
"tree-changes": "0.9.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.5.5", "@babel/core": "^7.5.5",