mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 05:40:42 +00:00 
			
		
		
		
	Fix test case: invalid version should not trigger network operations
This commit is contained in:
		| @@ -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, | ||||
| 		}, | ||||
| 		{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user