Fixed calling wrong function
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
f5e0bc617c
commit
be0d609bda
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def api_get_job(action, api, token, none_exit=True):
|
||||||
else:
|
else:
|
||||||
print("Unable to get job. Retrying in 60 seconds...")
|
print("Unable to get job. Retrying in 60 seconds...")
|
||||||
sleep(60)
|
sleep(60)
|
||||||
ret = get_job(action, host, port, none_exit)
|
ret = api_get_job(action, api, token, none_exit)
|
||||||
except IOError:
|
except IOError:
|
||||||
print("Unable to get job. Retrying in 60 seconds...")
|
print("Unable to get job. Retrying in 60 seconds...")
|
||||||
sleep(60)
|
sleep(60)
|
||||||
|
|
Loading…
Reference in a new issue