Commit f22c8f64 authored by Łukasz Nowak's avatar Łukasz Nowak

Relax and fix constraint.

connection_xml was not correctly validated.
connection_xml and sla_xml are optional, so their dict can evaluate to None or {},
which is False.
parent d5748a39
......@@ -26,7 +26,7 @@
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: context.getConnectionXml()</string> </value>
<value> <string>python: context.getConnectionXmlAsDict() or True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -26,7 +26,7 @@
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: context.getSlaXmlAsDict()</string> </value>
<value> <string>python: context.getSlaXmlAsDict() or True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
408
\ No newline at end of file
409
\ No newline at end of file
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