修复单节点生成主备xml内容有误

This commit is contained in:
liuheng
2024-02-19 15:44:59 +08:00
parent d350335f21
commit 72aba80448

View File

@ -131,6 +131,7 @@ class GenerateXml:
new_node.name = hostname
new_node.backIps[0] = hostip
new_node.sshIps[0] = hostip
new_node.datanodes[0].instanceType = '1'
cluster_info.dbNodes.append(new_node)
# if has cm, need copy cmservers cmagents