From d09f4fc305ad42d354bf0b9fc9a5da8a2c6b8fd2 Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Wed, 1 Nov 2023 16:43:39 +0200 Subject: [PATCH] openstack: do not set empty features The features are taken from the corresponding template in kubevirt, if exists, we do not want to override them with empty settings. Signed-off-by: Arik Hadas --- pkg/controller/plan/adapter/openstack/builder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/controller/plan/adapter/openstack/builder.go b/pkg/controller/plan/adapter/openstack/builder.go index aa155824c..cee69b830 100644 --- a/pkg/controller/plan/adapter/openstack/builder.go +++ b/pkg/controller/plan/adapter/openstack/builder.go @@ -391,10 +391,8 @@ func (r *Builder) mapFirmware(vm *model.Workload, object *cnv.VirtualMachineSpec default: bootloader = &cnv.Bootloader{BIOS: &cnv.BIOS{}} } - features := &cnv.Features{} firmware := &cnv.Firmware{} firmware.Bootloader = bootloader - object.Template.Spec.Domain.Features = features object.Template.Spec.Domain.Firmware = firmware }