Commit fdfef252 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: do not return in the middle of a loop

parent 53c6e739
......@@ -83,7 +83,8 @@ for local_instance in local_instance_list:
source_reference=local_instance.getSourceReference()
).InstanceTree_getSoftwareProduct()
if new_release_variation is None:
return
# Nothing can be done. Sadly, leave it as is for now.
continue
else:
return remote_instance_tree.InstanceTree_createUpgradeDecision(
target_software_release=new_release_variation,
......
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