Commit 7f5b51f9 authored by Alexander Kanevskiy's avatar Alexander Kanevskiy

Fix test case: invalid version should not trigger network operations

parent 5930ea30
...@@ -90,8 +90,8 @@ func TestCmdInitKubernetesVersion(t *testing.T) { ...@@ -90,8 +90,8 @@ func TestCmdInitKubernetesVersion(t *testing.T) {
expected bool expected bool
}{ }{
{ {
name: "invalid version string is detected", name: "invalid semantic version string is detected",
args: "--kubernetes-version=foobar", args: "--kubernetes-version=v1.1",
expected: false, expected: false,
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment