Commit c8e0c908 authored by Daniele Venzano's avatar Daniele Venzano 🏇
Browse files

Fix undefined variable

parent 8f01dafe
Pipeline #16324 passed with stages
in 2 minutes and 8 seconds
...@@ -178,6 +178,7 @@ def exec_kill_cmd(api: ZoeAPI, args): ...@@ -178,6 +178,7 @@ def exec_kill_cmd(api: ZoeAPI, args):
"""Kill an execution.""" """Kill an execution."""
api.executions.terminate(args.id) api.executions.terminate(args.id)
if args.synchronous: if args.synchronous:
old_status = None
while True: while True:
execution = api.executions.get(args.id) execution = api.executions.get(args.id)
current_status = execution['status'] current_status = execution['status']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment