From 46275562067a88e2c3dd3b14232aa640600b1abc Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Fri, 23 Aug 2024 17:06:41 +0200 Subject: [PATCH] condition/Firmware: add Oem, InstallInband fields --- condition/firmware_install.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/condition/firmware_install.go b/condition/firmware_install.go index 9d21c46..8323f47 100644 --- a/condition/firmware_install.go +++ b/condition/firmware_install.go @@ -68,12 +68,14 @@ func (p *FirmwareInstallTaskParameters) MustJSON() []byte { // Firmware holds attributes for a firmware object type Firmware struct { - ID string `yaml:"id" json:"id"` - Vendor string `yaml:"vendor" json:"vendor"` - FileName string `yaml:"filename" json:"filename"` - Version string `yaml:"version" json:"version"` - URL string `yaml:"URL" json:"URL"` - Component string `yaml:"component" json:"component"` - Checksum string `yaml:"checksum" json:"checksum"` - Models []string `yaml:"models" json:"models"` + ID string `yaml:"id" json:"id"` + Vendor string `yaml:"vendor" json:"vendor"` + FileName string `yaml:"filename" json:"filename"` + Version string `yaml:"version" json:"version"` + URL string `yaml:"URL" json:"URL"` + Component string `yaml:"component" json:"component"` + Checksum string `yaml:"checksum" json:"checksum"` + Models []string `yaml:"models" json:"models"` + InstallInband bool `yaml:"install_inband" json:"install_inband"` + Oem bool `yaml:"oem" json:"oem"` }