Commit 1e643ad1 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow conditions.

Related delivery (eg. hosting for stopped partition) can be in delivered state.
parent bda03944
...@@ -194,6 +194,7 @@ else:\n ...@@ -194,6 +194,7 @@ else:\n
elif (state == destroyed):\n elif (state == destroyed):\n
if isTransitionPossible(delivery, "stop"):\n if isTransitionPossible(delivery, "stop"):\n
delivery.stop()\n delivery.stop()\n
if isTransitionPossible(delivery, "deliver"):\n
delivery.deliver()\n delivery.deliver()\n
new_delivery = letsclone(cleanup_service_relative_url)\n new_delivery = letsclone(cleanup_service_relative_url)\n
new_delivery.confirm()\n new_delivery.confirm()\n
......
18 19
\ 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