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

pkg/transport: remove port in Certificate.IPAddresses #7659

Merged
merged 1 commit into from
Apr 5, 2017

Commits on Apr 4, 2017

  1. pkg/transport: remove port in Certificate.IPAddresses

    etcd passes 'url.URL.Host' to 'SelfCert' which contains
    client, peer port. 'net.ParseIP("127.0.0.1:2379")' returns
    'nil', and the client on this self-cert will see errors
    of '127.0.0.1 because it doesn't contain any IP SANs'
    
    Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
    gyuho committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    8a7a548 View commit details
    Browse the repository at this point in the history