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:
committed by
Alena Prokharchyk
parent
14827e2cdf
commit
4b96098db0
@@ -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++ {
|
||||
|
Reference in New Issue
Block a user