Browse Source

Explicitly set KARGO_TIMEOUT type to int

If we leave it as it is we get
TypeError: unsupported operand type(s) for +: 'float' and 'str'
in waiter

Change-Id: I2e764e982373bf5f024f513c327019f8ea9c759a
changes/44/398944/1
Volodymyr Shypyguzov 2 years ago
parent
commit
457facba03
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      fuel_ccp_tests/settings.py

+ 1
- 1
fuel_ccp_tests/settings.py View File

@@ -50,7 +50,7 @@ CCP_REPO = os.environ.get('CCP_REPO',
50 50
 KARGO_REPO = os.environ.get('KARGO_REPO',
51 51
                             'https://github.com/kubespray/kargo.git')
52 52
 KARGO_COMMIT = os.environ.get('KARGO_COMMIT', 'master')
53
-KARGO_TIMEOUT = os.environ.get('KARGO_TIMEOUT', 2400)
53
+KARGO_TIMEOUT = int(os.environ.get('KARGO_TIMEOUT', 2400))
54 54
 
55 55
 KUBE_HOSTPATH_DYNAMIC_PROVISIONER = get_var_as_bool(
56 56
     'KUBE_HOSTPATH_DYNAMIC_PROVISIONER', True)

Loading…
Cancel
Save