Commit 4f2d1e84 authored by Łukasz Nowak's avatar Łukasz Nowak

Disallow multiple calls in case if activity is running while requesting destruction.

parent 8b0899ba
...@@ -109,7 +109,7 @@ else:\n ...@@ -109,7 +109,7 @@ else:\n
if (state == "available"):\n if (state == "available"):\n
software_installation.requestStart()\n software_installation.requestStart()\n
elif (state == "destroyed"):\n elif (state == "destroyed"):\n
software_installation.requestDestroy()\n software_installation.requestDestroy(activate_kw={\'tag\': tag})\n
else:\n else:\n
raise ValueError("state should be available or destroyed, but is %s" % state)\n raise ValueError("state should be available or destroyed, but is %s" % state)\n
\n \n
......
816 817
\ No newline at end of file \ No newline at end of file
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