Commit cb6be6c2 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

slapos_jio_api_style: Fix Update Software Instance

parent fe258196
...@@ -35,7 +35,7 @@ if "reported_state" in data_dict: ...@@ -35,7 +35,7 @@ if "reported_state" in data_dict:
error_message="Unexcepected Reported State: %s" % reported_state, error_message="Unexcepected Reported State: %s" % reported_state,
) )
if "requested_instance_list": if "requested_instance_list" in data_dict:
software_instance.updateRequestedInstanceList(data_dict["requested_instance_list"]) software_instance.updateRequestedInstanceList(data_dict["requested_instance_list"])
if "title" in data_dict and data_dict["title"] != software_instance.getTitle(): if "title" in data_dict and data_dict["title"] != software_instance.getTitle():
......
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