mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
kubeadm: fix wrong ut for util/etcd
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
parent
26c3f66887
commit
20db4ef3d6
@ -135,7 +135,7 @@ func TestGetClientURL(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetPeerURL(t *testing.T) {
|
||||
testGetURL(t, GetClientURL, constants.EtcdListenClientPort)
|
||||
testGetURL(t, GetPeerURL, constants.EtcdListenPeerPort)
|
||||
}
|
||||
|
||||
func TestGetClientURLByIP(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user