We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4190cef commit 7f17ffbCopy full SHA for 7f17ffb
1 file changed
client/deis.py
@@ -508,14 +508,15 @@ def apps_open(self, args):
508
"/api/apps/{}/calculate".format(app))
509
if response.status_code == requests.codes.ok: # @UndefinedVariable
510
databag = json.loads(response.content)
511
+ print(databag)
512
domains = databag.get('domains', [])
513
if domains:
514
domain = random.choice(domains)
515
# use the OS's default handler to open this URL
516
webbrowser.open('http://{}/'.format(domain))
517
return domain
518
else:
- print('No proxies found. Use `deis layers:scale proxy=1` to scale up.')
519
+ print('No proxies found. Use `deis nodes:scale myformation proxy=1` to scale up.')
520
521
raise ResponseError(response)
522
0 commit comments