kubeadm: fix wrong ut for util/etcd
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
@@ -135,7 +135,7 @@ func TestGetClientURL(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetPeerURL(t *testing.T) {
|
func TestGetPeerURL(t *testing.T) {
|
||||||
testGetURL(t, GetClientURL, constants.EtcdListenClientPort)
|
testGetURL(t, GetPeerURL, constants.EtcdListenPeerPort)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetClientURLByIP(t *testing.T) {
|
func TestGetClientURLByIP(t *testing.T) {
|
||||||
|
Reference in New Issue
Block a user