Skip to content

Commit 7f17ffb

Browse files
committed
Fixed #242 -- update "no proxy" error message.
1 parent 4190cef commit 7f17ffb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/deis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,14 +508,15 @@ def apps_open(self, args):
508508
"/api/apps/{}/calculate".format(app))
509509
if response.status_code == requests.codes.ok: # @UndefinedVariable
510510
databag = json.loads(response.content)
511+
print(databag)
511512
domains = databag.get('domains', [])
512513
if domains:
513514
domain = random.choice(domains)
514515
# use the OS's default handler to open this URL
515516
webbrowser.open('http://{}/'.format(domain))
516517
return domain
517518
else:
518-
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.')
519520
else:
520521
raise ResponseError(response)
521522

0 commit comments

Comments
 (0)