1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-17 23:49:06 +00:00

remove windows image from rkesystemimages for rke cli

This commit is contained in:
kinarashah
2019-09-20 09:48:49 -07:00
committed by Alena Prokharchyk
parent 14827e2cdf
commit 4b96098db0

View File

@@ -481,6 +481,8 @@ func generateSystemImagesList(version string, all bool) error {
}
func getUniqueSystemImageList(rkeSystemImages v3.RKESystemImages) []string {
// windows image not relevant for rke cli
rkeSystemImages.WindowsPodInfraContainer = ""
imagesReflect := reflect.ValueOf(rkeSystemImages)
images := make([]string, imagesReflect.NumField())
for i := 0; i < imagesReflect.NumField(); i++ {