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

internal/clicontext: default to gRPC port for login addr #2320

Merged
merged 4 commits into from
Sep 17, 2021

Conversation

mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Sep 17, 2021

Before we would not set a port at all, and I'm not sure what port it was
trying to connect to. Given our installation method on all platforms
defaults our gRPC to port 9701, it makes sense to default to port 9701
if none is specified.

This makes the initial installation login experience smoother cause most
installations can just do:

$ waypoint login <IP or hostname>

And it'll just work, rather than looking up the port, which is most
likely 9701.

Before we would not set a port at all, and I'm not sure what port it was
trying to connect to. Given our installation method on all platforms
defaults our gRPC to port 9701, it makes sense to default to port 9701
if none is specified.

This makes the initial installation login experience smoother cause most
installations can just do:

  $ waypoint login <IP or hostname>

And it'll just work, rather than looking up the port, which is most
likely 9701.
@mitchellh mitchellh added the pr/no-changelog No automatic changelog entry required for this pull request label Sep 17, 2021
@mitchellh mitchellh requested a review from a team September 17, 2021 17:23
@github-actions github-actions bot added the core label Sep 17, 2021
@mitchellh mitchellh removed the pr/no-changelog No automatic changelog entry required for this pull request label Sep 17, 2021
Copy link
Member

@briancain briancain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legit! 🎉

@mitchellh mitchellh merged commit efb3eac into main Sep 17, 2021
@mitchellh mitchellh deleted the improvement/login-port branch September 17, 2021 19:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants