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
(cherry picked from commit 031acd9991)
This commit is contained in:
Dmitry Tantsur 2018-07-20 13:43:11 +02:00
parent f28a1b0979
commit 004f35ffd1
1 changed files with 1 additions and 1 deletions

View File

@ -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