list deployments in client now properly returns a list, not dictionary
Change-Id: I62ec0ab4bbb5b55ffad9e8f3db315eae8cfd57f3
This commit is contained in:
parent
3dee37df5f
commit
41ba3fef48
|
@ -35,8 +35,8 @@ class DeploymentManager(base.Manager):
|
|||
resource_class = Deployment
|
||||
|
||||
def list(self, environment_id):
|
||||
return self._get('environments/{id}/deployments'.
|
||||
format(id=environment_id))
|
||||
return self._list('environments/{id}/deployments'.
|
||||
format(id=environment_id), 'deployments')
|
||||
|
||||
def reports(self, environment_id, deployment_id, *service_ids):
|
||||
path = 'environments/{id}/deployments/{deployment_id}'
|
||||
|
|
Loading…
Reference in New Issue