From 588edcc25aadff5905e3f994217ed8821a72efc7 Mon Sep 17 00:00:00 2001 From: akshith-gunasheelan Date: Wed, 21 May 2025 12:10:41 +0530 Subject: [PATCH 1/2] Removing mirror list from FW bundle response --- ov/firmware_drivers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ov/firmware_drivers.go b/ov/firmware_drivers.go index 77696a07..f1f4dc35 100644 --- a/ov/firmware_drivers.go +++ b/ov/firmware_drivers.go @@ -43,7 +43,6 @@ type FirmwareDrivers struct { IsoFileName string `json:"isoFileName,omitempty"` LastTaskUri string `json:"lastTaskUri,omitempty"` Locations map[string]string `json:"locations,omitempty"` - Mirrorlist map[string][]string `json:"mirrorlist,omitempty"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` ParentBundle parentBundle `json:"parentBundle,omitempty"` From 107b79ac0b93de5a63c1706de817db45d6b41584 Mon Sep 17 00:00:00 2001 From: akshith-gunasheelan Date: Wed, 21 May 2025 12:16:07 +0530 Subject: [PATCH 2/2] lint --- ov/firmware_drivers.go | 66 +++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/ov/firmware_drivers.go b/ov/firmware_drivers.go index f1f4dc35..749b6884 100644 --- a/ov/firmware_drivers.go +++ b/ov/firmware_drivers.go @@ -29,39 +29,39 @@ type FWComponents struct { } type FirmwareDrivers struct { - BaselineShortName string `json:"baselineShortName,omitempty"` - BundleSize int `json:"bundleSize,omitempty"` - BundleType string `json:"bundleType,omitempty"` - Category string `json:"category,omitempty"` - Created string `json:"created,omitempty"` - Description string `json:"description,omitempty"` - ETAG string `json:"eTag,omitempty"` - EsxiOsDriverMetaData []utils.Nstring `json:"esxiOsDriverMetaData,omitempty"` - FwComponents []FWComponents `json:"fwComponents,omitempty"` - Hotfixes []HotFixes `json:"hotfixes,omitempty"` - HpsumVersion string `json:"hpsumVersion,omitempty"` - IsoFileName string `json:"isoFileName,omitempty"` - LastTaskUri string `json:"lastTaskUri,omitempty"` - Locations map[string]string `json:"locations,omitempty"` - Modified string `json:"modified,omitempty"` - Name string `json:"name,omitempty"` - ParentBundle parentBundle `json:"parentBundle,omitempty"` - ReleaseDate string `json:"releaseDate,omitempty"` - ResourceId string `json:"resourceId,omitempty"` - ResourceState string `json:"resourceState,omitempty"` - ScopesUri string `json:"scopesUri,omitempty"` - SignatureFileName string `json:"signatureFileName,omitempty"` - SignatureFileRequired bool `json:"signatureFileRequired,omitempty"` - State string `json:"state,omitempty"` - Status string `json:"status,omitempty"` - SupportedLanguages string `json:"supportedLanguages,omitempty"` - SupportedOSList []utils.Nstring `json:"supportedOSList,omitempty"` - SwPackagesFullPath string `json:"swPackagesFullPath,omitempty"` - Type string `json:"type,omitempty"` - Uri utils.Nstring `json:"uri,omitempty"` - Uuid string `json:"uuid,omitempty"` - Version string `json:"version,omitempty"` - XmlKeyName string `json:"xmlKeyName,omitempty"` + BaselineShortName string `json:"baselineShortName,omitempty"` + BundleSize int `json:"bundleSize,omitempty"` + BundleType string `json:"bundleType,omitempty"` + Category string `json:"category,omitempty"` + Created string `json:"created,omitempty"` + Description string `json:"description,omitempty"` + ETAG string `json:"eTag,omitempty"` + EsxiOsDriverMetaData []utils.Nstring `json:"esxiOsDriverMetaData,omitempty"` + FwComponents []FWComponents `json:"fwComponents,omitempty"` + Hotfixes []HotFixes `json:"hotfixes,omitempty"` + HpsumVersion string `json:"hpsumVersion,omitempty"` + IsoFileName string `json:"isoFileName,omitempty"` + LastTaskUri string `json:"lastTaskUri,omitempty"` + Locations map[string]string `json:"locations,omitempty"` + Modified string `json:"modified,omitempty"` + Name string `json:"name,omitempty"` + ParentBundle parentBundle `json:"parentBundle,omitempty"` + ReleaseDate string `json:"releaseDate,omitempty"` + ResourceId string `json:"resourceId,omitempty"` + ResourceState string `json:"resourceState,omitempty"` + ScopesUri string `json:"scopesUri,omitempty"` + SignatureFileName string `json:"signatureFileName,omitempty"` + SignatureFileRequired bool `json:"signatureFileRequired,omitempty"` + State string `json:"state,omitempty"` + Status string `json:"status,omitempty"` + SupportedLanguages string `json:"supportedLanguages,omitempty"` + SupportedOSList []utils.Nstring `json:"supportedOSList,omitempty"` + SwPackagesFullPath string `json:"swPackagesFullPath,omitempty"` + Type string `json:"type,omitempty"` + Uri utils.Nstring `json:"uri,omitempty"` + Uuid string `json:"uuid,omitempty"` + Version string `json:"version,omitempty"` + XmlKeyName string `json:"xmlKeyName,omitempty"` } type FirmwareDriversList struct {