Fixed issue with service deletion

Change-Id: I9a0dfc11439f3733bb2dd06da5a3214347a700ad
This commit is contained in:
Serg Melikyan 2013-05-21 12:40:55 +04:00
parent 2043c0f77c
commit f647d0205e

View File

@ -100,7 +100,7 @@ class Environment(BASE, ModelBase):
id = Column(String(32), primary_key=True, default=uuidutils.generate_uuid) id = Column(String(32), primary_key=True, default=uuidutils.generate_uuid)
name = Column(String(255), nullable=False) name = Column(String(255), nullable=False)
tenant_id = Column(String(32), nullable=False) tenant_id = Column(String(32), nullable=False)
description = Column(JsonBlob(), nullable=False, default='{}') description = Column(JsonBlob(), nullable=False, default={})
def to_dict(self): def to_dict(self):
dictionary = super(Environment, self).to_dict() dictionary = super(Environment, self).to_dict()