mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +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
|
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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user