Fix positional timeout arg

The timeout argument was being incorrectly set
to the verbosity value due to positional function
argument instead of keywork args. This change is
adding timeout to TripleoProvide and fixing the
super()__init__ call to use keyword instead of
positional args.

Change-Id: Ie2f48a5fd8c5429ce5fb1ef04a56f53c9818e149
changes/19/830819/2
Brendan Shephard 7 months ago committed by Cedric Jeanneret
parent ec411b9329
commit 66718d3abc
  1. 4
      tripleoclient/workflows/tripleo_baremetal.py

@ -88,9 +88,9 @@ class TripleoProvide(TripleoBaremetal):
"""
def __init__(self, wait_for_bridge_mappings: bool = False,
verbosity: int = 1):
timeout: int = 60, verbosity: int = 1):
super().__init__(verbosity)
super().__init__(timeout=timeout, verbosity=verbosity)
self.wait_for_bridge_mappings = wait_for_bridge_mappings
def _wait_for_unlocked(self, node: str, timeout: int):

Loading…
Cancel
Save