From 0246fd06c60535ad4d7cd037b0d87ded6406fcbe Mon Sep 17 00:00:00 2001 From: Alexander Tivelkov Date: Wed, 17 Jul 2013 20:19:50 +0400 Subject: [PATCH] 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 --- muranoapi/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muranoapi/db/models.py b/muranoapi/db/models.py index c687f90f..ce5b8d32 100644 --- a/muranoapi/db/models.py +++ b/muranoapi/db/models.py @@ -150,7 +150,7 @@ class Deployment(BASE, ModelBase): def to_dict(self): dictionary = super(Deployment, self).to_dict() - del dictionary["description"] + # del dictionary["description"] if 'statuses' in dictionary: del dictionary['statuses'] if 'environment' in dictionary: