Deployment description is not hidden anymore

Description (i.e. the list of deployed services etc) is needed to display the configuration which was attempted to be deployed. So, this should be exposed by the API

Change-Id: I0675cd584dabc845835101192316ddd206af708d
This commit is contained in:
Alexander Tivelkov 2013-07-17 20:19:50 +04:00
parent 18c7a90b10
commit 0246fd06c6

View File

@ -150,7 +150,7 @@ class Deployment(BASE, ModelBase):
def to_dict(self): def to_dict(self):
dictionary = super(Deployment, self).to_dict() dictionary = super(Deployment, self).to_dict()
del dictionary["description"] # del dictionary["description"]
if 'statuses' in dictionary: if 'statuses' in dictionary:
del dictionary['statuses'] del dictionary['statuses']
if 'environment' in dictionary: if 'environment' in dictionary: