修复一个DNS节点和边缘节点地址可能会冲突的问题

This commit is contained in:
刘祥超
2021-08-03 13:35:29 +08:00
parent 95c734c87a
commit d855fdedde

View File

@@ -63,6 +63,7 @@ func (this *NodeIPAddressDAO) DisableAllAddressesWithNodeId(tx *dbs.Tx, nodeId i
} }
_, err := this.Query(tx). _, err := this.Query(tx).
Attr("nodeId", nodeId). Attr("nodeId", nodeId).
Attr("role", role).
Set("state", NodeIPAddressStateDisabled). Set("state", NodeIPAddressStateDisabled).
Update() Update()
return err return err