commit 6c8f31c31c8633af5d2898e29c4ce38b16068dff
Author: Stan Lagun <email address hidden>
Date: Mon Oct 5 11:14:34 2015 +0300
Python method results were not converted to immutable values
When Python methods is called from MuranoPL code its result was not
converted to immutable value that yaql 1.0 operates on.
For example consider that we have
Reviewed: https:/ /review. openstack. org/230908 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=6c8f31c31c8 633af5d2898e29c 4ce38b16068dff
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 6c8f31c31c8633a f5d2898e29c4ce3 8b16068dff
Author: Stan Lagun <email address hidden>
Date: Mon Oct 5 11:14:34 2015 +0300
Python method results were not converted to immutable values
When Python methods is called from MuranoPL code its result was not
converted to immutable value that yaql 1.0 operates on.
For example consider that we have
def foo():
return [1]
and MuranoPL code:
- $val: list(1)
- $cmp: foo() = $val
as a result $cmp was set to false because [1] != (1,)
This bug caused all Docker/Kubernetes apps to break on re-deployment
Change-Id: I56fcf8bfa01323 aab2e79cf11a156 9f97e5365a3
Closes-Bug: #1502790