Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
0.4.0
-
None
Description
If you pass an invalid url to -z for example - you will get a wait and then an exception crashing the shell.
In the case of -z, I am not sure url is the right name, since we want host:port, with host being a valid name or ip address and port.
We also do use a default port if none is provided, we probably should.
A 'dev' default for the whole thing would be 'node1:2181', to match our vagrant environments. I propose that we use that.
Thus:
- no -z => node1:2181
- -z -> validate host name, if no port then 2181
- if port then validate port
Attachments
Issue Links
- links to