Fix issues with wait on node flush/ready
Ensure that the strings are converted to booleans on the API side, and that we're sending a lowercase true/false (for consistency).
This commit is contained in:
@ -56,7 +56,7 @@ def node_domain_state(config, node, action, wait):
|
||||
"""
|
||||
params={
|
||||
'state': action,
|
||||
'wait': wait
|
||||
'wait': str(wait).lower()
|
||||
}
|
||||
response = call_api(config, 'post', '/node/{node}/domain-state'.format(node=node), params=params)
|
||||
|
||||
|
Reference in New Issue
Block a user