We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36cad2d commit 08eb9d6Copy full SHA for 08eb9d6
sambacc/ctdb.py
@@ -497,8 +497,8 @@ def _cluster_meta_to_ctdb_nodes(nodes: list[dict]) -> list[str]:
497
ctdb_nodes: list[str] = [""] * pnn_max
498
for entry in nodes:
499
pnn = entry["pnn"]
500
- expected_line = _entry_to_node(ctdb_nodes, entry)
501
- ctdb_nodes[pnn] = expected_line
+ # overwrite the pnn indexed entry with expected value
+ ctdb_nodes[pnn] = _entry_to_node(ctdb_nodes, entry)
502
return ctdb_nodes
503
504
0 commit comments