mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 13:50:01 +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 | 		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, | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user