Skip to content

Commit 32222f7

Browse files
committed
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 <ahadas@redhat.com>
1 parent 685040b commit 32222f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/controller/plan/adapter/openstack/builder.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,8 @@ func (r *Builder) mapFirmware(vm *model.Workload, object *cnv.VirtualMachineSpec
391391
default:
392392
bootloader = &cnv.Bootloader{BIOS: &cnv.BIOS{}}
393393
}
394-
features := &cnv.Features{}
395394
firmware := &cnv.Firmware{}
396395
firmware.Bootloader = bootloader
397-
object.Template.Spec.Domain.Features = features
398396
object.Template.Spec.Domain.Firmware = firmware
399397
}
400398

0 commit comments

Comments
 (0)