We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
deis containers
git push
1 parent d847753 commit 8a6f44eCopy full SHA for 8a6f44e
1 file changed
client/deis.py
@@ -823,7 +823,8 @@ def containers_list(self, args):
823
response = self._dispatch('get', "/api/apps/{}/builds".format(app))
824
if response.status_code != requests.codes.ok: # @UndefinedVariable
825
raise ResponseError(response)
826
- procfile = json.loads(response.json()['results'][0]['procfile'])
+ txt = response.json()['results'][0]['procfile']
827
+ procfile = json.loads(txt) if txt else {}
828
print("=== {} Containers".format(app))
829
c_map = {}
830
for item in containers['results']:
0 commit comments