From a9eea57ca6efec380fd2554daac6fd6cb7f55e22 Mon Sep 17 00:00:00 2001 From: Samantha Blanco Date: Thu, 29 Sep 2016 15:46:35 -0400 Subject: [PATCH] Fixes CFServiceInstance.to_dict calls wrong class CFServiceInstance uses wrong class to call superclass Change-Id: I95ff892c7d5b815b7e4acff6c5644d2442879ec8 Closes-Bug: #1628290 --- murano/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/murano/db/models.py b/murano/db/models.py index 2cfe2778..1b82d3e0 100644 --- a/murano/db/models.py +++ b/murano/db/models.py @@ -357,7 +357,7 @@ class CFServiceInstance(Base): tenant = sa.Column(sa.String(255), nullable=False) def to_dict(self): - dictionary = super(CFSpace, self).to_dict() + dictionary = super(CFServiceInstance, self).to_dict() if 'environment' in dictionary: del dictionary['environment'] return dictionary