diff --git a/client-api/pvc-api.py b/client-api/pvc-api.py index 47000230..68a1384d 100755 --- a/client-api/pvc-api.py +++ b/client-api/pvc-api.py @@ -710,9 +710,9 @@ class API_Node_DomainState(Resource): id: Message """ if reqargs['state'] == 'flush': - return api_helper.node_flush(node, reqargs.get('wait', None)) + return api_helper.node_flush(node, reqargs.get('wait', False)) if reqargs['state'] == 'ready': - return api_helper.node_ready(node, reqargs.get('wait', None)) + return api_helper.node_ready(node, reqargs.get('wait', False)) abort(400) api.add_resource(API_Node_DomainState, '/node//domain-state')