Commit 15f5c03e authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

cyclades: Fix passing arg shutdown_timeout in logic

parent 1128de2b
......@@ -280,7 +280,7 @@ def destroy(vm, shutdown_timeout=None):
not backend.vm_exists_in_backend(vm)):
raise faults.BuildInProgress("Server is being build")"Deleting VM %s", vm)
return backend.delete_instance(vm, shutdown_timeout=None)
return backend.delete_instance(vm, shutdown_timeout=shutdown_timeout)
......@@ -292,7 +292,7 @@ def start(vm):
def stop(vm, shutdown_timeout=None):"Stopping VM %s", vm)
return backend.shutdown_instance(vm, shutdown_timeout=None)
return backend.shutdown_instance(vm, shutdown_timeout=shutdown_timeout)
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