Commit 18565ae5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: No need to mark free what is already free

parent 5a445ef0
...@@ -27,4 +27,5 @@ if partition is not None: ...@@ -27,4 +27,5 @@ if partition is not None:
can_be_free = False can_be_free = False
break break
if can_be_free: if can_be_free:
if partition.getSlapState() != "free":
partition.markFree() partition.markFree()
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