Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): override port of bind #372

Merged
merged 1 commit into from
Dec 5, 2013

Conversation

philips
Copy link
Contributor

@philips philips commented Dec 5, 2013

Allow people to specify ports on the -bind-addr arguments so that they can
use randomly assigned port numbers in containers.

@philips
Copy link
Contributor Author

philips commented Dec 5, 2013

/cc @polvi

return aurl.Host, nil
}

_, aport, err := net.SplitHostPort(aurl.Host)
Copy link
Contributor

Choose a reason for hiding this comment

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

We only need 'aport' in the event that bport == "" at line 494, should this parsing bemoved inside that conditional?

Allow people to specify ports on the `-bind-addr` arguments so that they
can use randomly assigned port numbers in containers.
philips added a commit that referenced this pull request Dec 5, 2013
fix(server): override port of bind
@philips philips merged commit 1a7eb36 into etcd-io:master Dec 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants