Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

No output for which port was selected dynamically #900

Closed
IRCody opened this issue May 4, 2016 · 2 comments
Closed

No output for which port was selected dynamically #900

IRCody opened this issue May 4, 2016 · 2 comments

Comments

@IRCody
Copy link
Contributor

IRCody commented May 4, 2016

When specifying a rest api port of '0', a dynamic port is selected but the port is not output to the user.

INFO[0000] Starting REST API on :0                       _module=_mgmt-rest
@geauxvirtual
Copy link
Contributor

Why would we even support this through snapd?

@IRCody
Copy link
Contributor Author

IRCody commented May 5, 2016

Unsure if it was intended but snap currently supports it (i.e. specifying port 0 causes a dynamic port to be chosen). This issue was to decide if we want to continue with that (then we need to adjust the output) or disallow that.

tjmcs pushed a commit to tjmcs/snap that referenced this issue Jun 6, 2016
…ST API can be started on; also refactors how command-line flags are set and prints valid defaults where applicable
tjmcs pushed a commit to tjmcs/snap that referenced this issue Jun 7, 2016
…ST API can be started on; also refactors how command-line flags are set and prints valid defaults where applicable
jcooklin added a commit that referenced this issue Jun 7, 2016
Fixes #900: Removes '0' from the list of valid ports
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants