Fix test case: invalid version should not trigger network operations

This commit is contained in:
Alexander Kanevskiy 2018-08-22 15:01:30 +03:00
parent 5930ea30c1
commit 7f5b51f920

View File

@ -90,8 +90,8 @@ func TestCmdInitKubernetesVersion(t *testing.T) {
expected bool
}{
{
name: "invalid version string is detected",
args: "--kubernetes-version=foobar",
name: "invalid semantic version string is detected",
args: "--kubernetes-version=v1.1",
expected: false,
},
{