Commit bb63230b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Update Deprecated call to Workflow script

  DeprecationWarning: <Workflow at instance_slap_interface_workflow>: Script calling Instance_checkConsistency instead of script_Instance_checkConsistency
parent 1a0cc8f2
...@@ -12,6 +12,6 @@ edit_kw = { ...@@ -12,6 +12,6 @@ edit_kw = {
instance.edit(**edit_kw) instance.edit(**edit_kw)
# Prevent storing broken XML in text content (which prevent to update parameters after) # Prevent storing broken XML in text content (which prevent to update parameters after)
context.Instance_checkConsistency(state_change) context.script_Instance_checkConsistency(state_change)
instance.setLastData(connection_xml) instance.setLastData(connection_xml)
...@@ -40,4 +40,4 @@ else: ...@@ -40,4 +40,4 @@ else:
instance.edit(**edit_kw) instance.edit(**edit_kw)
# Prevent storing broken XML in text content (which prevent to update parameters after) # Prevent storing broken XML in text content (which prevent to update parameters after)
context.Instance_checkConsistency(state_change) context.script_Instance_checkConsistency(state_change)
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