2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-24 01:31:27 +00:00

Await clear node attributes

This commit is contained in:
Jarrod Johnson
2026-04-14 09:57:33 -04:00
parent a8f4c437bb
commit 038faaab74

View File

@@ -340,7 +340,7 @@ async def update_nodes(nodes, element, configmanager, inputdata):
raise exc.InvalidArgumentException('Syntax error in attribute name: "{0}"'.format(markup))
if len(clearattribs) > 0:
clearwarnbynode[node] = []
configmanager.clear_node_attributes([node], clearattribs, warnings=clearwarnbynode[node])
await configmanager.clear_node_attributes([node], clearattribs, warnings=clearwarnbynode[node])
updatedict[node] = updatenode
try:
await configmanager.set_node_attributes(updatedict)