!48 gs_om -t status --all查询时加入各个节点azName显示

Merge pull request !48 from Ricardo_Cui/master
This commit is contained in:
hangjin2020 2021-02-03 15:32:41 +08:00 committed by Gitee
commit 7a5ec98bdb

View File

@ -1449,6 +1449,9 @@ class dbClusterInfo():
outText = outText + (
"instance_state : %s\n" %
dnInst.state)
outText = outText + (
"az_name : %s\n" %
dnInst.azName)
if dnInst.localRole == "Primary":
outText = outText + (
"static_connections : %s\n\n" %