Update unit tests after the rename

This commit is contained in:
Lucas Käldström
2018-11-09 14:47:45 +02:00
parent 731bcdc864
commit 5656338b6e
17 changed files with 76 additions and 76 deletions

View File

@@ -191,7 +191,7 @@ func TestRunInitMasterChecks(t *testing.T) {
}{
{name: "Test valid advertised address",
cfg: &kubeadmapi.InitConfiguration{
APIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "foo"},
LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "foo"},
},
expected: false,
},
@@ -224,7 +224,7 @@ func TestRunInitMasterChecks(t *testing.T) {
},
{
cfg: &kubeadmapi.InitConfiguration{
APIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "2001:1234::1:15"},
LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "2001:1234::1:15"},
},
expected: false,
},