We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a80ae3 + fd806fc commit 51851ecCopy full SHA for 51851ec
test/e2e/kubernetes/windows/windows.go
@@ -50,26 +50,12 @@ func (i *WindowsImage) GetImage(version OSVersion) string {
50
}
51
52
func GetWindowsImage(testImage WindowsTestImages, version OSVersion) string {
53
- iisImage := WindowsImage{
54
- BaseImage: "mcr.microsoft.com/windows/servercore/iis",
55
- Tags: map[OSVersion]string{
56
- LTSC2019: "windowsservercore-ltsc2019",
57
- },
58
- }
59
-
60
httpd := WindowsImage{
61
BaseImage: "k8sprow.azurecr.io/kubernetes-e2e-test-images/httpd",
62
Tags: map[OSVersion]string{
63
LTSC2019: "2.4.39-alpine",
64
},
65
66
67
- switch testImage {
68
- case IIS:
69
- return iisImage.GetImage(version)
70
- case Httpd:
71
- return httpd.GetImage(version)
72
- default:
73
74
+ return httpd.GetImage(version)
75
0 commit comments