mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Fix test case: invalid version should not trigger network operations
This commit is contained in:
parent
5930ea30c1
commit
7f5b51f920
@ -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,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user