kubeadm: fix wrong ut for util/etcd

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li 2023-10-07 21:57:20 +08:00
parent 26c3f66887
commit 20db4ef3d6

View File

@ -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) {