Commit a6713818 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: do not return in the middle of a loop

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