azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

[Cli] Fixing error thrown on 'azk scale' command #657

Closed fearenales closed 8 years ago

fearenales commented 8 years ago

This PR intends to fix an issue occurring after the execution of azk scale command (see output below).

➜  azkdemo git:(master) ✗ azk scale azkdemo 2
┌───┬─────────┬───────────┬───────────────────────────┬────────────────────────────┬────────────────┐
│   │ System  │ Instances │ Hostname/url              │ Instances-Ports            │ Provisioned    │
├───┼─────────┼───────────┼───────────────────────────┼────────────────────────────┼────────────────┤
│ ↑ │ azkdemo │ 2         │ http://azkdemo.dev.azk.io │ 2-http:32769, 1-http:32768 │ 32 minutes ago │
│   │         │           │                           │                            │                │
└───┴─────────┴───────────┴───────────────────────────┴────────────────────────────┴────────────────┘
azk: Unknown error: "undefined"
azk: Sorry, an error has occurred.
azk: A crash report about this error will be sent to azk team in order to make azk better.
? Bonus: if you're ok with telling us your email address, we'll be able to reply you with 
a solution for this issue.
Important: Your email will be saved for future crash reports (we'll never share your email
).
You can always delete/update your email at any time. See http://docs.azk.io/en/reference/c
li/config.html#azk-config
Enter your email [optional]: