添加和修改API节点时,检查HTTP API端口是否和GRPC端口冲突

This commit is contained in:
刘祥超
2022-11-04 12:04:07 +08:00
parent 485c0e0891
commit a14fcd1e50
5 changed files with 79 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ Tea.context(function () {
this.hasHTTPS = this.grpcAddrs.$any(function (k, v) {
return v.protocol == "https"
}) || (this.node.restIsOn && this.restAddrs.$any(function (k, v) {
}) || (this.restIsOn && this.restAddrs.$any(function (k, v) {
return v.protocol == "https"
}))
}