Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information