baremetal: correct the default timeout in Node.set_provision_state
It should be None, which allows the client to wait until the server side timeout. True is probably cast to 1, which is incorrect. Change-Id: I6ae42b44b5460fed5291584576bb9eb7bcdfecb4
This commit is contained in:
parent
4600f1ec7b
commit
031acd9991
|
@ -122,7 +122,7 @@ class Node(resource.Resource):
|
|||
|
||||
def set_provision_state(self, session, target, config_drive=None,
|
||||
clean_steps=None, rescue_password=None,
|
||||
wait=False, timeout=True):
|
||||
wait=False, timeout=None):
|
||||
"""Run an action modifying this node's provision state.
|
||||
|
||||
This call is asynchronous, it will return success as soon as the Bare
|
||||
|
|
Loading…
Reference in New Issue