Use consistent language for primary mode

I didn't call it "router" anywhere else, but the state in the list is
called "coordinator" so, call it "coordinator mode".
This commit is contained in:
2022-05-06 15:39:06 -04:00
parent 7a40c7a55b
commit c401a1f655
3 changed files with 10 additions and 10 deletions

View File

@ -224,7 +224,7 @@ def node_domain_state(zkhandler, node):
@ZKConnection(config)
def node_secondary(zkhandler, node):
"""
Take NODE out of primary router mode.
Take NODE out of primary coordinator mode.
"""
retflag, retdata = pvc_node.secondary_node(zkhandler, node)
@ -240,7 +240,7 @@ def node_secondary(zkhandler, node):
@ZKConnection(config)
def node_primary(zkhandler, node):
"""
Set NODE to primary router mode.
Set NODE to primary coordinator mode.
"""
retflag, retdata = pvc_node.primary_node(zkhandler, node)