commit e35c0749e01e5a4c897f3a2992b0d916203f9257
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/230907 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=e35c0749e01 e5a4c897f3a2992 b0d916203f9257
Committed: https:/
Submitter: Jenkins
Branch: master
commit e35c0749e01e5a4 c897f3a2992b0d9 16203f9257
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