Fixes CFServiceInstance.to_dict calls wrong class

CFServiceInstance uses wrong class to call superclass

Change-Id: I95ff892c7d5b815b7e4acff6c5644d2442879ec8
Closes-Bug: #1628290
This commit is contained in:
Samantha Blanco 2016-09-29 15:46:35 -04:00
parent f121631e40
commit a9eea57ca6

View File

@ -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