From 0c33abfcb0838574d81033c465d99ece903d22fd Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 24 Jun 2021 09:50:36 -0500 Subject: [PATCH] Remove nolint directives from docstrings Signed-off-by: Sean McGinnis --- redfish/assembly.go | 4 ++-- redfish/bios.go | 4 ++-- redfish/compositionservice.go | 4 ++-- redfish/drive.go | 4 ++-- redfish/endpoint.go | 4 ++-- redfish/ethernetinterface.go | 4 ++-- redfish/eventdestination.go | 4 ++-- redfish/eventservice.go | 4 ++-- redfish/hostinterface.go | 4 ++-- redfish/logentry.go | 4 ++-- redfish/logservice.go | 4 ++-- redfish/manageraccount.go | 4 ++-- redfish/memory.go | 4 ++-- redfish/memorydomain.go | 4 ++-- redfish/memorymetrics.go | 4 ++-- redfish/networkdevicefunction.go | 4 ++-- redfish/networkinterface.go | 4 ++-- redfish/networkport.go | 4 ++-- redfish/pciedevice.go | 4 ++-- redfish/pciefunction.go | 4 ++-- redfish/power.go | 4 ++-- redfish/redundancy.go | 4 ++-- redfish/role.go | 4 ++-- redfish/secureboot.go | 4 ++-- redfish/simplestorage.go | 4 ++-- redfish/softwareinventory.go | 4 ++-- redfish/storage.go | 8 ++++---- redfish/task.go | 4 ++-- redfish/thermal.go | 4 ++-- redfish/virtualmedia.go | 4 ++-- redfish/vlannetworkinterface.go | 4 ++-- redfish/volume.go | 4 ++-- swordfish/classofservice.go | 4 ++-- swordfish/dataprotectionlineofservice.go | 4 ++-- swordfish/dataprotectionloscapabilities.go | 4 ++-- swordfish/datasecurityloscapabilities.go | 4 ++-- swordfish/datastoragelineofservice.go | 4 ++-- swordfish/datastorageloscapabilities.go | 4 ++-- swordfish/endpointgroup.go | 4 ++-- swordfish/filesystem.go | 4 ++-- swordfish/ioconnectivitylineofservice.go | 4 ++-- swordfish/ioconnectivityloscapabilities.go | 4 ++-- swordfish/ioperformancelineofservice.go | 4 ++-- swordfish/ioperformanceloscapabilities.go | 4 ++-- swordfish/spareresourceset.go | 4 ++-- swordfish/storagegroup.go | 4 ++-- swordfish/storagepool.go | 4 ++-- swordfish/storagereplicainfo.go | 4 ++-- swordfish/volume.go | 4 ++-- 49 files changed, 100 insertions(+), 100 deletions(-) diff --git a/redfish/assembly.go b/redfish/assembly.go index 9051f9d1..82ae8c4e 100644 --- a/redfish/assembly.go +++ b/redfish/assembly.go @@ -89,9 +89,9 @@ func GetAssembly(c common.Client, uri string) (*Assembly, error) { return &assembly, nil } -//nolint:dupl // ListReferencedAssemblys gets the collection of Assembly from +// ListReferencedAssemblys gets the collection of Assembly from // a provided reference. -func ListReferencedAssemblys(c common.Client, link string) ([]*Assembly, error) { +func ListReferencedAssemblys(c common.Client, link string) ([]*Assembly, error) { //nolint:dupl var result []*Assembly if link == "" { return result, nil diff --git a/redfish/bios.go b/redfish/bios.go index 4ad4d838..a284e095 100644 --- a/redfish/bios.go +++ b/redfish/bios.go @@ -148,8 +148,8 @@ func GetBios(c common.Client, uri string) (*Bios, error) { return &bios, nil } -//nolint:dupl // ListReferencedBioss gets the collection of Bios from a provided reference. -func ListReferencedBioss(c common.Client, link string) ([]*Bios, error) { +// ListReferencedBioss gets the collection of Bios from a provided reference. +func ListReferencedBioss(c common.Client, link string) ([]*Bios, error) { //nolint:dupl var result []*Bios if link == "" { return result, nil diff --git a/redfish/compositionservice.go b/redfish/compositionservice.go index 7eb8cf0d..f1049b11 100644 --- a/redfish/compositionservice.go +++ b/redfish/compositionservice.go @@ -105,9 +105,9 @@ func GetCompositionService(c common.Client, uri string) (*CompositionService, er return &compositionservice, nil } -//nolint:dupl // ListReferencedCompositionServices gets the collection of CompositionService from +// ListReferencedCompositionServices gets the collection of CompositionService from // a provided reference. -func ListReferencedCompositionServices(c common.Client, link string) ([]*CompositionService, error) { +func ListReferencedCompositionServices(c common.Client, link string) ([]*CompositionService, error) { //nolint:dupl var result []*CompositionService if link == "" { return result, nil diff --git a/redfish/drive.go b/redfish/drive.go index 231d6a24..e7176ff6 100644 --- a/redfish/drive.go +++ b/redfish/drive.go @@ -330,8 +330,8 @@ func GetDrive(c common.Client, uri string) (*Drive, error) { return &drive, nil } -//nolint:dupl // ListReferencedDrives gets the collection of Drives from a provided reference. -func ListReferencedDrives(c common.Client, link string) ([]*Drive, error) { +// ListReferencedDrives gets the collection of Drives from a provided reference. +func ListReferencedDrives(c common.Client, link string) ([]*Drive, error) { //nolint:dupl var result []*Drive if link == "" { return result, nil diff --git a/redfish/endpoint.go b/redfish/endpoint.go index 6bd5c00a..e6896e85 100644 --- a/redfish/endpoint.go +++ b/redfish/endpoint.go @@ -233,9 +233,9 @@ func GetEndpoint(c common.Client, uri string) (*Endpoint, error) { return &endpoint, nil } -//nolint:dupl // ListReferencedEndpoints gets the collection of Endpoint from +// ListReferencedEndpoints gets the collection of Endpoint from // a provided reference. -func ListReferencedEndpoints(c common.Client, link string) ([]*Endpoint, error) { +func ListReferencedEndpoints(c common.Client, link string) ([]*Endpoint, error) { //nolint:dupl var result []*Endpoint if link == "" { return result, nil diff --git a/redfish/ethernetinterface.go b/redfish/ethernetinterface.go index 49af490d..7003a525 100644 --- a/redfish/ethernetinterface.go +++ b/redfish/ethernetinterface.go @@ -295,9 +295,9 @@ func GetEthernetInterface(c common.Client, uri string) (*EthernetInterface, erro return ðernetinterface, nil } -//nolint:dupl // ListReferencedEthernetInterfaces gets the collection of EthernetInterface from +// ListReferencedEthernetInterfaces gets the collection of EthernetInterface from // a provided reference. -func ListReferencedEthernetInterfaces(c common.Client, link string) ([]*EthernetInterface, error) { +func ListReferencedEthernetInterfaces(c common.Client, link string) ([]*EthernetInterface, error) { //nolint:dupl var result []*EthernetInterface if link == "" { return result, nil diff --git a/redfish/eventdestination.go b/redfish/eventdestination.go index 3079ffa6..d50c8c1b 100644 --- a/redfish/eventdestination.go +++ b/redfish/eventdestination.go @@ -404,9 +404,9 @@ func DeleteEventDestination(c common.Client, uri string) (err error) { return err } -//nolint:dupl // ListReferencedEventDestinations gets the collection of EventDestination from +// ListReferencedEventDestinations gets the collection of EventDestination from // a provided reference. -func ListReferencedEventDestinations(c common.Client, link string) ([]*EventDestination, error) { +func ListReferencedEventDestinations(c common.Client, link string) ([]*EventDestination, error) { //nolint:dupl var result []*EventDestination if link == "" { return result, nil diff --git a/redfish/eventservice.go b/redfish/eventservice.go index a299d10c..2005e5bf 100644 --- a/redfish/eventservice.go +++ b/redfish/eventservice.go @@ -243,9 +243,9 @@ func GetEventService(c common.Client, uri string) (*EventService, error) { return &eventservice, nil } -//nolint:dupl // ListReferencedEventServices gets the collection of EventService from +// ListReferencedEventServices gets the collection of EventService from // a provided reference. -func ListReferencedEventServices(c common.Client, link string) ([]*EventService, error) { +func ListReferencedEventServices(c common.Client, link string) ([]*EventService, error) { //nolint:dupl var result []*EventService if link == "" { return result, nil diff --git a/redfish/hostinterface.go b/redfish/hostinterface.go index 26f0a8c0..61f40832 100644 --- a/redfish/hostinterface.go +++ b/redfish/hostinterface.go @@ -199,9 +199,9 @@ func GetHostInterface(c common.Client, uri string) (*HostInterface, error) { return &hostinterface, nil } -//nolint:dupl // ListReferencedHostInterfaces gets the collection of HostInterface from +// ListReferencedHostInterfaces gets the collection of HostInterface from // a provided reference. -func ListReferencedHostInterfaces(c common.Client, link string) ([]*HostInterface, error) { +func ListReferencedHostInterfaces(c common.Client, link string) ([]*HostInterface, error) { //nolint:dupl var result []*HostInterface if link == "" { return result, nil diff --git a/redfish/logentry.go b/redfish/logentry.go index ef7864a1..89a1b422 100644 --- a/redfish/logentry.go +++ b/redfish/logentry.go @@ -434,9 +434,9 @@ func GetLogEntry(c common.Client, uri string) (*LogEntry, error) { return &logentry, nil } -//nolint:dupl // ListReferencedLogEntrys gets the collection of LogEntry from +// ListReferencedLogEntrys gets the collection of LogEntry from // a provided reference. -func ListReferencedLogEntrys(c common.Client, link string) ([]*LogEntry, error) { +func ListReferencedLogEntrys(c common.Client, link string) ([]*LogEntry, error) { //nolint:dupl var result []*LogEntry if link == "" { return result, nil diff --git a/redfish/logservice.go b/redfish/logservice.go index 478c514a..48af730f 100644 --- a/redfish/logservice.go +++ b/redfish/logservice.go @@ -158,8 +158,8 @@ func GetLogService(c common.Client, uri string) (*LogService, error) { return &logservice, nil } -//nolint:dupl // ListReferencedLogServices gets the collection of LogService from a provided reference. -func ListReferencedLogServices(c common.Client, link string) ([]*LogService, error) { +// ListReferencedLogServices gets the collection of LogService from a provided reference. +func ListReferencedLogServices(c common.Client, link string) ([]*LogService, error) { //nolint:dupl var result []*LogService if link == "" { return result, nil diff --git a/redfish/manageraccount.go b/redfish/manageraccount.go index d1cd3c96..96a93268 100644 --- a/redfish/manageraccount.go +++ b/redfish/manageraccount.go @@ -163,9 +163,9 @@ func GetManagerAccount(c common.Client, uri string) (*ManagerAccount, error) { return &manageraccount, nil } -//nolint:dupl // ListReferencedManagerAccounts gets the collection of ManagerAccount from +// ListReferencedManagerAccounts gets the collection of ManagerAccount from // a provided reference. -func ListReferencedManagerAccounts(c common.Client, link string) ([]*ManagerAccount, error) { +func ListReferencedManagerAccounts(c common.Client, link string) ([]*ManagerAccount, error) { //nolint:dupl var result []*ManagerAccount if link == "" { return result, nil diff --git a/redfish/memory.go b/redfish/memory.go index 89395633..88c4bf77 100644 --- a/redfish/memory.go +++ b/redfish/memory.go @@ -402,9 +402,9 @@ func GetMemory(c common.Client, uri string) (*Memory, error) { return &memory, nil } -//nolint:dupl // ListReferencedMemorys gets the collection of Memory from +// ListReferencedMemorys gets the collection of Memory from // a provided reference. -func ListReferencedMemorys(c common.Client, link string) ([]*Memory, error) { +func ListReferencedMemorys(c common.Client, link string) ([]*Memory, error) { //nolint:dupl var result []*Memory if link == "" { return result, nil diff --git a/redfish/memorydomain.go b/redfish/memorydomain.go index 69922e3c..066dc93c 100644 --- a/redfish/memorydomain.go +++ b/redfish/memorydomain.go @@ -77,9 +77,9 @@ func GetMemoryDomain(c common.Client, uri string) (*MemoryDomain, error) { return &memorydomain, nil } -//nolint:dupl // ListReferencedMemoryDomains gets the collection of MemoryDomain from +// ListReferencedMemoryDomains gets the collection of MemoryDomain from // a provided reference. -func ListReferencedMemoryDomains(c common.Client, link string) ([]*MemoryDomain, error) { +func ListReferencedMemoryDomains(c common.Client, link string) ([]*MemoryDomain, error) { //nolint:dupl var result []*MemoryDomain if link == "" { return result, nil diff --git a/redfish/memorymetrics.go b/redfish/memorymetrics.go index 7c4af545..f74d5a82 100644 --- a/redfish/memorymetrics.go +++ b/redfish/memorymetrics.go @@ -118,9 +118,9 @@ func GetMemoryMetrics(c common.Client, uri string) (*MemoryMetrics, error) { return &memorymetrics, nil } -//nolint:dupl // ListReferencedMemoryMetricss gets the collection of MemoryMetrics from +// ListReferencedMemoryMetricss gets the collection of MemoryMetrics from // a provided reference. -func ListReferencedMemoryMetricss(c common.Client, link string) ([]*MemoryMetrics, error) { +func ListReferencedMemoryMetricss(c common.Client, link string) ([]*MemoryMetrics, error) { //nolint:dupl var result []*MemoryMetrics if link == "" { return result, nil diff --git a/redfish/networkdevicefunction.go b/redfish/networkdevicefunction.go index 04af31a5..70723079 100644 --- a/redfish/networkdevicefunction.go +++ b/redfish/networkdevicefunction.go @@ -366,9 +366,9 @@ func GetNetworkDeviceFunction(c common.Client, uri string) (*NetworkDeviceFuncti return &networkdevicefunction, nil } -//nolint:dupl // ListReferencedNetworkDeviceFunctions gets the collection of NetworkDeviceFunction from +// ListReferencedNetworkDeviceFunctions gets the collection of NetworkDeviceFunction from // a provided reference. -func ListReferencedNetworkDeviceFunctions(c common.Client, link string) ([]*NetworkDeviceFunction, error) { +func ListReferencedNetworkDeviceFunctions(c common.Client, link string) ([]*NetworkDeviceFunction, error) { //nolint:dupl var result []*NetworkDeviceFunction if link == "" { return result, nil diff --git a/redfish/networkinterface.go b/redfish/networkinterface.go index 8cb53d58..8fee7b99 100644 --- a/redfish/networkinterface.go +++ b/redfish/networkinterface.go @@ -85,9 +85,9 @@ func GetNetworkInterface(c common.Client, uri string) (*NetworkInterface, error) return &networkinterface, nil } -//nolint:dupl // ListReferencedNetworkInterfaces gets the collection of NetworkInterface from +// ListReferencedNetworkInterfaces gets the collection of NetworkInterface from // a provided reference. -func ListReferencedNetworkInterfaces(c common.Client, link string) ([]*NetworkInterface, error) { +func ListReferencedNetworkInterfaces(c common.Client, link string) ([]*NetworkInterface, error) { //nolint:dupl var result []*NetworkInterface if link == "" { return result, nil diff --git a/redfish/networkport.go b/redfish/networkport.go index 3f817991..2968764d 100644 --- a/redfish/networkport.go +++ b/redfish/networkport.go @@ -265,9 +265,9 @@ func GetNetworkPort(c common.Client, uri string) (*NetworkPort, error) { return &networkport, nil } -//nolint:dupl // ListReferencedNetworkPorts gets the collection of NetworkPort from +// ListReferencedNetworkPorts gets the collection of NetworkPort from // a provided reference. -func ListReferencedNetworkPorts(c common.Client, link string) ([]*NetworkPort, error) { +func ListReferencedNetworkPorts(c common.Client, link string) ([]*NetworkPort, error) { //nolint:dupl var result []*NetworkPort if link == "" { return result, nil diff --git a/redfish/pciedevice.go b/redfish/pciedevice.go index e5e1b96b..f6610ddc 100644 --- a/redfish/pciedevice.go +++ b/redfish/pciedevice.go @@ -165,9 +165,9 @@ func GetPCIeDevice(c common.Client, uri string) (*PCIeDevice, error) { return &pciedevice, nil } -//nolint:dupl // ListReferencedPCIeDevices gets the collection of PCIeDevice from +// ListReferencedPCIeDevices gets the collection of PCIeDevice from // a provided reference. -func ListReferencedPCIeDevices(c common.Client, link string) ([]*PCIeDevice, error) { +func ListReferencedPCIeDevices(c common.Client, link string) ([]*PCIeDevice, error) { //nolint:dupl var result []*PCIeDevice if link == "" { return result, nil diff --git a/redfish/pciefunction.go b/redfish/pciefunction.go index f007f3d5..c2d143a5 100644 --- a/redfish/pciefunction.go +++ b/redfish/pciefunction.go @@ -195,9 +195,9 @@ func GetPCIeFunction(c common.Client, uri string) (*PCIeFunction, error) { return &pciefunction, nil } -//nolint:dupl // ListReferencedPCIeFunctions gets the collection of PCIeFunction from +// ListReferencedPCIeFunctions gets the collection of PCIeFunction from // a provided reference. -func ListReferencedPCIeFunctions(c common.Client, link string) ([]*PCIeFunction, error) { +func ListReferencedPCIeFunctions(c common.Client, link string) ([]*PCIeFunction, error) { //nolint:dupl var result []*PCIeFunction if link == "" { return result, nil diff --git a/redfish/power.go b/redfish/power.go index 3b611392..cfe047c2 100644 --- a/redfish/power.go +++ b/redfish/power.go @@ -163,9 +163,9 @@ func GetPower(c common.Client, uri string) (*Power, error) { return &power, nil } -//nolint:dupl // ListReferencedPowers gets the collection of Power from +// ListReferencedPowers gets the collection of Power from // a provided reference. -func ListReferencedPowers(c common.Client, link string) ([]*Power, error) { +func ListReferencedPowers(c common.Client, link string) ([]*Power, error) { //nolint:dupl var result []*Power if link == "" { return result, nil diff --git a/redfish/redundancy.go b/redfish/redundancy.go index 93763819..a97c367f 100644 --- a/redfish/redundancy.go +++ b/redfish/redundancy.go @@ -131,9 +131,9 @@ func GetRedundancy(c common.Client, uri string) (*Redundancy, error) { return &redundancy, nil } -//nolint:dupl // ListReferencedRedundancies gets the collection of Redundancy from +// ListReferencedRedundancies gets the collection of Redundancy from // a provided reference. -func ListReferencedRedundancies(c common.Client, link string) ([]*Redundancy, error) { +func ListReferencedRedundancies(c common.Client, link string) ([]*Redundancy, error) { //nolint:dupl var result []*Redundancy if link == "" { return result, nil diff --git a/redfish/role.go b/redfish/role.go index 905a29b6..f2ccd4e1 100644 --- a/redfish/role.go +++ b/redfish/role.go @@ -123,9 +123,9 @@ func GetRole(c common.Client, uri string) (*Role, error) { return &role, nil } -//nolint:dupl // ListReferencedRoles gets the collection of Role from +// ListReferencedRoles gets the collection of Role from // a provided reference. -func ListReferencedRoles(c common.Client, link string) ([]*Role, error) { +func ListReferencedRoles(c common.Client, link string) ([]*Role, error) { //nolint:dupl var result []*Role if link == "" { return result, nil diff --git a/redfish/secureboot.go b/redfish/secureboot.go index a5cc2c70..14773ef5 100644 --- a/redfish/secureboot.go +++ b/redfish/secureboot.go @@ -144,9 +144,9 @@ func GetSecureBoot(c common.Client, uri string) (*SecureBoot, error) { return &secureboot, nil } -//nolint:dupl // ListReferencedSecureBoots gets the collection of SecureBoot from +// ListReferencedSecureBoots gets the collection of SecureBoot from // a provided reference. -func ListReferencedSecureBoots(c common.Client, link string) ([]*SecureBoot, error) { +func ListReferencedSecureBoots(c common.Client, link string) ([]*SecureBoot, error) { //nolint:dupl var result []*SecureBoot if link == "" { return result, nil diff --git a/redfish/simplestorage.go b/redfish/simplestorage.go index 9b24bd73..6a8ae000 100644 --- a/redfish/simplestorage.go +++ b/redfish/simplestorage.go @@ -94,9 +94,9 @@ func GetSimpleStorage(c common.Client, uri string) (*SimpleStorage, error) { return &simplestorage, nil } -//nolint:dupl // ListReferencedSimpleStorages gets the collection of SimpleStorage from +// ListReferencedSimpleStorages gets the collection of SimpleStorage from // a provided reference. -func ListReferencedSimpleStorages(c common.Client, link string) ([]*SimpleStorage, error) { +func ListReferencedSimpleStorages(c common.Client, link string) ([]*SimpleStorage, error) { //nolint:dupl var result []*SimpleStorage if link == "" { return result, nil diff --git a/redfish/softwareinventory.go b/redfish/softwareinventory.go index fd5fb180..2702180e 100644 --- a/redfish/softwareinventory.go +++ b/redfish/softwareinventory.go @@ -79,9 +79,9 @@ func GetSoftwareInventory(c common.Client, uri string) (*SoftwareInventory, erro return &softwareinventory, nil } -//nolint:dupl // ListReferencedSoftwareInventories gets the collection of SoftwareInventory from +// ListReferencedSoftwareInventories gets the collection of SoftwareInventory from // a provided reference. -func ListReferencedSoftwareInventories(c common.Client, link string) ([]*SoftwareInventory, error) { +func ListReferencedSoftwareInventories(c common.Client, link string) ([]*SoftwareInventory, error) { //nolint:dupl var result []*SoftwareInventory if link == "" { return result, nil diff --git a/redfish/storage.go b/redfish/storage.go index 903b3d5a..ba2d06df 100644 --- a/redfish/storage.go +++ b/redfish/storage.go @@ -120,9 +120,9 @@ func GetStorage(c common.Client, uri string) (*Storage, error) { return &storage, nil } -//nolint:dupl // ListReferencedStorages gets the collection of Storage from a provided +// ListReferencedStorages gets the collection of Storage from a provided // reference. -func ListReferencedStorages(c common.Client, link string) ([]*Storage, error) { +func ListReferencedStorages(c common.Client, link string) ([]*Storage, error) { //nolint:dupl var result []*Storage if link == "" { return result, nil @@ -360,9 +360,9 @@ func GetStorageController(c common.Client, uri string) (*StorageController, erro return &storage, nil } -//nolint:dupl // ListReferencedStorageControllers gets the collection of StorageControllers +// ListReferencedStorageControllers gets the collection of StorageControllers // from a provided reference. -func ListReferencedStorageControllers(c common.Client, link string) ([]*StorageController, error) { +func ListReferencedStorageControllers(c common.Client, link string) ([]*StorageController, error) { //nolint:dupl var result []*StorageController if link == "" { return result, nil diff --git a/redfish/task.go b/redfish/task.go index d918da8d..64e0a322 100644 --- a/redfish/task.go +++ b/redfish/task.go @@ -169,9 +169,9 @@ func GetTask(c common.Client, uri string) (*Task, error) { return &task, nil } -//nolint:dupl // ListReferencedTasks gets the collection of Task from +// ListReferencedTasks gets the collection of Task from // a provided reference. -func ListReferencedTasks(c common.Client, link string) ([]*Task, error) { +func ListReferencedTasks(c common.Client, link string) ([]*Task, error) { //nolint:dupl var result []*Task if link == "" { return result, nil diff --git a/redfish/thermal.go b/redfish/thermal.go index d94b6c74..bead85e5 100644 --- a/redfish/thermal.go +++ b/redfish/thermal.go @@ -342,8 +342,8 @@ func GetThermal(c common.Client, uri string) (*Thermal, error) { return &thermal, nil } -//nolint:dupl // ListReferencedThermals gets the collection of Thermal from a provided reference. -func ListReferencedThermals(c common.Client, link string) ([]*Thermal, error) { +// ListReferencedThermals gets the collection of Thermal from a provided reference. +func ListReferencedThermals(c common.Client, link string) ([]*Thermal, error) { //nolint:dupl var result []*Thermal if link == "" { return result, nil diff --git a/redfish/virtualmedia.go b/redfish/virtualmedia.go index 261f6b96..1c7aee9a 100644 --- a/redfish/virtualmedia.go +++ b/redfish/virtualmedia.go @@ -265,9 +265,9 @@ func GetVirtualMedia(c common.Client, uri string) (*VirtualMedia, error) { return &virtualmedia, nil } -//nolint:dupl // ListReferencedVirtualMedias gets the collection of VirtualMedia from +// ListReferencedVirtualMedias gets the collection of VirtualMedia from // a provided reference. -func ListReferencedVirtualMedias(c common.Client, link string) ([]*VirtualMedia, error) { +func ListReferencedVirtualMedias(c common.Client, link string) ([]*VirtualMedia, error) { //nolint:dupl var result []*VirtualMedia if link == "" { return result, nil diff --git a/redfish/vlannetworkinterface.go b/redfish/vlannetworkinterface.go index 01f865e2..6323a51f 100644 --- a/redfish/vlannetworkinterface.go +++ b/redfish/vlannetworkinterface.go @@ -98,9 +98,9 @@ func GetVLanNetworkInterface(c common.Client, uri string) (*VLanNetworkInterface return &vlannetworkinterface, nil } -//nolint:dupl // ListReferencedVLanNetworkInterfaces gets the collection of VLanNetworkInterface from +// ListReferencedVLanNetworkInterfaces gets the collection of VLanNetworkInterface from // a provided reference. -func ListReferencedVLanNetworkInterfaces(c common.Client, link string) ([]*VLanNetworkInterface, error) { +func ListReferencedVLanNetworkInterfaces(c common.Client, link string) ([]*VLanNetworkInterface, error) { //nolint:dupl var result []*VLanNetworkInterface if link == "" { return result, nil diff --git a/redfish/volume.go b/redfish/volume.go index 3240d382..0fc7985e 100644 --- a/redfish/volume.go +++ b/redfish/volume.go @@ -236,8 +236,8 @@ func GetVolume(c common.Client, uri string) (*Volume, error) { return &volume, nil } -//nolint:dupl // ListReferencedVolumes gets the collection of Volumes from a provided reference. -func ListReferencedVolumes(c common.Client, link string) ([]*Volume, error) { +// ListReferencedVolumes gets the collection of Volumes from a provided reference. +func ListReferencedVolumes(c common.Client, link string) ([]*Volume, error) { //nolint:dupl var result []*Volume if link == "" { return result, nil diff --git a/swordfish/classofservice.go b/swordfish/classofservice.go index 30c174c7..a0706349 100644 --- a/swordfish/classofservice.go +++ b/swordfish/classofservice.go @@ -103,9 +103,9 @@ func GetClassOfService(c common.Client, uri string) (*ClassOfService, error) { return &classofservice, nil } -//nolint:dupl // ListReferencedClassOfServices gets the collection of ClassOfService from +// ListReferencedClassOfServices gets the collection of ClassOfService from // a provided reference. -func ListReferencedClassOfServices(c common.Client, link string) ([]*ClassOfService, error) { +func ListReferencedClassOfServices(c common.Client, link string) ([]*ClassOfService, error) { //nolint:dupl var result []*ClassOfService if link == "" { return result, nil diff --git a/swordfish/dataprotectionlineofservice.go b/swordfish/dataprotectionlineofservice.go index 39c195ff..397bfdcf 100644 --- a/swordfish/dataprotectionlineofservice.go +++ b/swordfish/dataprotectionlineofservice.go @@ -77,9 +77,9 @@ func GetDataProtectionLineOfService(c common.Client, uri string) (*DataProtectio return &dataprotectionlineofservice, nil } -//nolint:dupl // ListReferencedDataProtectionLineOfServices gets the collection of DataProtectionLineOfService from +// ListReferencedDataProtectionLineOfServices gets the collection of DataProtectionLineOfService from // a provided reference. -func ListReferencedDataProtectionLineOfServices(c common.Client, link string) ([]*DataProtectionLineOfService, error) { +func ListReferencedDataProtectionLineOfServices(c common.Client, link string) ([]*DataProtectionLineOfService, error) { //nolint:dupl var result []*DataProtectionLineOfService if link == "" { return result, nil diff --git a/swordfish/dataprotectionloscapabilities.go b/swordfish/dataprotectionloscapabilities.go index 5f7e9479..e7c2251e 100644 --- a/swordfish/dataprotectionloscapabilities.go +++ b/swordfish/dataprotectionloscapabilities.go @@ -193,9 +193,9 @@ func GetDataProtectionLoSCapabilities(c common.Client, uri string) (*DataProtect return &dataprotectionloscapabilities, nil } -//nolint:dupl // ListReferencedDataProtectionLoSCapabilities gets the collection of DataProtectionLoSCapabilities from +// ListReferencedDataProtectionLoSCapabilities gets the collection of DataProtectionLoSCapabilities from // a provided reference. -func ListReferencedDataProtectionLoSCapabilities(c common.Client, link string) ([]*DataProtectionLoSCapabilities, error) { +func ListReferencedDataProtectionLoSCapabilities(c common.Client, link string) ([]*DataProtectionLoSCapabilities, error) { //nolint:dupl var result []*DataProtectionLoSCapabilities if link == "" { return result, nil diff --git a/swordfish/datasecurityloscapabilities.go b/swordfish/datasecurityloscapabilities.go index ec95e446..48903754 100644 --- a/swordfish/datasecurityloscapabilities.go +++ b/swordfish/datasecurityloscapabilities.go @@ -217,9 +217,9 @@ func GetDataSecurityLoSCapabilities(c common.Client, uri string) (*DataSecurityL return &datasecurityloscapabilities, nil } -//nolint:dupl // ListReferencedDataSecurityLoSCapabilities gets the collection of DataSecurityLoSCapabilities from +// ListReferencedDataSecurityLoSCapabilities gets the collection of DataSecurityLoSCapabilities from // a provided reference. -func ListReferencedDataSecurityLoSCapabilities(c common.Client, link string) ([]*DataSecurityLoSCapabilities, error) { +func ListReferencedDataSecurityLoSCapabilities(c common.Client, link string) ([]*DataSecurityLoSCapabilities, error) { //nolint:dupl var result []*DataSecurityLoSCapabilities if link == "" { return result, nil diff --git a/swordfish/datastoragelineofservice.go b/swordfish/datastoragelineofservice.go index f7ac8b7c..ce48c4dd 100644 --- a/swordfish/datastoragelineofservice.go +++ b/swordfish/datastoragelineofservice.go @@ -86,9 +86,9 @@ func GetDataStorageLineOfService(c common.Client, uri string) (*DataStorageLineO return &datastoragelineofservice, nil } -//nolint:dupl // ListReferencedDataStorageLineOfServices gets the collection of DataStorageLineOfService from +// ListReferencedDataStorageLineOfServices gets the collection of DataStorageLineOfService from // a provided reference. -func ListReferencedDataStorageLineOfServices(c common.Client, link string) ([]*DataStorageLineOfService, error) { +func ListReferencedDataStorageLineOfServices(c common.Client, link string) ([]*DataStorageLineOfService, error) { //nolint:dupl var result []*DataStorageLineOfService if link == "" { return result, nil diff --git a/swordfish/datastorageloscapabilities.go b/swordfish/datastorageloscapabilities.go index 7122f96f..dbd1a1ab 100644 --- a/swordfish/datastorageloscapabilities.go +++ b/swordfish/datastorageloscapabilities.go @@ -146,9 +146,9 @@ func GetDataStorageLoSCapabilities(c common.Client, uri string) (*DataStorageLoS return &datastorageloscapabilities, nil } -//nolint:dupl // ListReferencedDataStorageLoSCapabilities gets the collection of DataStorageLoSCapabilities from +// ListReferencedDataStorageLoSCapabilities gets the collection of DataStorageLoSCapabilities from // a provided reference. -func ListReferencedDataStorageLoSCapabilities(c common.Client, link string) ([]*DataStorageLoSCapabilities, error) { +func ListReferencedDataStorageLoSCapabilities(c common.Client, link string) ([]*DataStorageLoSCapabilities, error) { //nolint:dupl var result []*DataStorageLoSCapabilities if link == "" { return result, nil diff --git a/swordfish/endpointgroup.go b/swordfish/endpointgroup.go index a5b3fe91..e402f06d 100644 --- a/swordfish/endpointgroup.go +++ b/swordfish/endpointgroup.go @@ -146,9 +146,9 @@ func GetEndpointGroup(c common.Client, uri string) (*EndpointGroup, error) { return &endpointgroup, nil } -//nolint:dupl // ListReferencedEndpointGroups gets the collection of EndpointGroup from +// ListReferencedEndpointGroups gets the collection of EndpointGroup from // a provided reference. -func ListReferencedEndpointGroups(c common.Client, link string) ([]*EndpointGroup, error) { +func ListReferencedEndpointGroups(c common.Client, link string) ([]*EndpointGroup, error) { //nolint:dupl var result []*EndpointGroup if link == "" { return result, nil diff --git a/swordfish/filesystem.go b/swordfish/filesystem.go index 55031e6f..d790b682 100644 --- a/swordfish/filesystem.go +++ b/swordfish/filesystem.go @@ -275,9 +275,9 @@ func GetFileSystem(c common.Client, uri string) (*FileSystem, error) { return &filesystem, nil } -//nolint:dupl // ListReferencedFileSystems gets the collection of FileSystem from +// ListReferencedFileSystems gets the collection of FileSystem from // a provided reference. -func ListReferencedFileSystems(c common.Client, link string) ([]*FileSystem, error) { +func ListReferencedFileSystems(c common.Client, link string) ([]*FileSystem, error) { //nolint:dupl var result []*FileSystem if link == "" { return result, nil diff --git a/swordfish/ioconnectivitylineofservice.go b/swordfish/ioconnectivitylineofservice.go index 23c19be4..d71a7cac 100644 --- a/swordfish/ioconnectivitylineofservice.go +++ b/swordfish/ioconnectivitylineofservice.go @@ -53,9 +53,9 @@ func GetIOConnectivityLineOfService(c common.Client, uri string) (*IOConnectivit return &ioconnectivitylineofservice, nil } -//nolint:dupl // ListReferencedIOConnectivityLineOfServices gets the collection of IOConnectivityLineOfService from +// ListReferencedIOConnectivityLineOfServices gets the collection of IOConnectivityLineOfService from // a provided reference. -func ListReferencedIOConnectivityLineOfServices(c common.Client, link string) ([]*IOConnectivityLineOfService, error) { +func ListReferencedIOConnectivityLineOfServices(c common.Client, link string) ([]*IOConnectivityLineOfService, error) { //nolint:dupl var result []*IOConnectivityLineOfService if link == "" { return result, nil diff --git a/swordfish/ioconnectivityloscapabilities.go b/swordfish/ioconnectivityloscapabilities.go index 63305596..629b19bb 100644 --- a/swordfish/ioconnectivityloscapabilities.go +++ b/swordfish/ioconnectivityloscapabilities.go @@ -106,9 +106,9 @@ func GetIOConnectivityLoSCapabilities(c common.Client, uri string) (*IOConnectiv return &ioconnectivityloscapabilities, nil } -//nolint:dupl // ListReferencedIOConnectivityLoSCapabilitiess gets the collection of +// ListReferencedIOConnectivityLoSCapabilitiess gets the collection of // IOConnectivityLoSCapabilities from a provided reference. -func ListReferencedIOConnectivityLoSCapabilitiess(c common.Client, link string) ([]*IOConnectivityLoSCapabilities, error) { +func ListReferencedIOConnectivityLoSCapabilitiess(c common.Client, link string) ([]*IOConnectivityLoSCapabilities, error) { //nolint:dupl var result []*IOConnectivityLoSCapabilities if link == "" { return result, nil diff --git a/swordfish/ioperformancelineofservice.go b/swordfish/ioperformancelineofservice.go index cb426df0..18fb545c 100644 --- a/swordfish/ioperformancelineofservice.go +++ b/swordfish/ioperformancelineofservice.go @@ -64,9 +64,9 @@ func GetIOPerformanceLineOfService(c common.Client, uri string) (*IOPerformanceL return &ioperformancelineofservice, nil } -//nolint:dupl // ListReferencedIOPerformanceLineOfServices gets the collection of IOPerformanceLineOfService from +// ListReferencedIOPerformanceLineOfServices gets the collection of IOPerformanceLineOfService from // a provided reference. -func ListReferencedIOPerformanceLineOfServices(c common.Client, link string) ([]*IOPerformanceLineOfService, error) { +func ListReferencedIOPerformanceLineOfServices(c common.Client, link string) ([]*IOPerformanceLineOfService, error) { //nolint:dupl var result []*IOPerformanceLineOfService if link == "" { return result, nil diff --git a/swordfish/ioperformanceloscapabilities.go b/swordfish/ioperformanceloscapabilities.go index d6dfdd03..7195cccd 100644 --- a/swordfish/ioperformanceloscapabilities.go +++ b/swordfish/ioperformanceloscapabilities.go @@ -134,9 +134,9 @@ func GetIOPerformanceLoSCapabilities(c common.Client, uri string) (*IOPerformanc return &ioperformanceloscapabilities, nil } -//nolint:dupl // ListReferencedIOPerformanceLoSCapabilitiess gets the collection of IOPerformanceLoSCapabilities from +// ListReferencedIOPerformanceLoSCapabilitiess gets the collection of IOPerformanceLoSCapabilities from // a provided reference. -func ListReferencedIOPerformanceLoSCapabilitiess(c common.Client, link string) ([]*IOPerformanceLoSCapabilities, error) { +func ListReferencedIOPerformanceLoSCapabilitiess(c common.Client, link string) ([]*IOPerformanceLoSCapabilities, error) { //nolint:dupl var result []*IOPerformanceLoSCapabilities if link == "" { return result, nil diff --git a/swordfish/spareresourceset.go b/swordfish/spareresourceset.go index a0e898ff..8f26192d 100644 --- a/swordfish/spareresourceset.go +++ b/swordfish/spareresourceset.go @@ -124,9 +124,9 @@ func GetSpareResourceSet(c common.Client, uri string) (*SpareResourceSet, error) return &spareresourceset, nil } -//nolint:dupl // ListReferencedSpareResourceSets gets the collection of SpareResourceSet from +// ListReferencedSpareResourceSets gets the collection of SpareResourceSet from // a provided reference. -func ListReferencedSpareResourceSets(c common.Client, link string) ([]*SpareResourceSet, error) { +func ListReferencedSpareResourceSets(c common.Client, link string) ([]*SpareResourceSet, error) { //nolint:dupl var result []*SpareResourceSet if link == "" { return result, nil diff --git a/swordfish/storagegroup.go b/swordfish/storagegroup.go index 56a9089c..cb41cc06 100644 --- a/swordfish/storagegroup.go +++ b/swordfish/storagegroup.go @@ -224,9 +224,9 @@ func GetStorageGroup(c common.Client, uri string) (*StorageGroup, error) { return &storagegroup, nil } -//nolint:dupl // ListReferencedStorageGroups gets the collection of StorageGroup from +// ListReferencedStorageGroups gets the collection of StorageGroup from // a provided reference. -func ListReferencedStorageGroups(c common.Client, link string) ([]*StorageGroup, error) { +func ListReferencedStorageGroups(c common.Client, link string) ([]*StorageGroup, error) { //nolint:dupl var result []*StorageGroup if link == "" { return result, nil diff --git a/swordfish/storagepool.go b/swordfish/storagepool.go index 3575719e..91864cd9 100644 --- a/swordfish/storagepool.go +++ b/swordfish/storagepool.go @@ -188,9 +188,9 @@ func GetStoragePool(c common.Client, uri string) (*StoragePool, error) { return &storagepool, nil } -//nolint:dupl // ListReferencedStoragePools gets the collection of StoragePool from +// ListReferencedStoragePools gets the collection of StoragePool from // a provided reference. -func ListReferencedStoragePools(c common.Client, link string) ([]*StoragePool, error) { +func ListReferencedStoragePools(c common.Client, link string) ([]*StoragePool, error) { //nolint:dupl var result []*StoragePool if link == "" { return result, nil diff --git a/swordfish/storagereplicainfo.go b/swordfish/storagereplicainfo.go index 1170fdf1..5c12168b 100644 --- a/swordfish/storagereplicainfo.go +++ b/swordfish/storagereplicainfo.go @@ -461,9 +461,9 @@ func GetStorageReplicaInfo(c common.Client, uri string) (*StorageReplicaInfo, er return &storagereplicainfo, nil } -//nolint:dupl // ListReferencedStorageReplicaInfos gets the collection of StorageReplicaInfo from +// ListReferencedStorageReplicaInfos gets the collection of StorageReplicaInfo from // a provided reference. -func ListReferencedStorageReplicaInfos(c common.Client, link string) ([]*StorageReplicaInfo, error) { +func ListReferencedStorageReplicaInfos(c common.Client, link string) ([]*StorageReplicaInfo, error) { //nolint:dupl var result []*StorageReplicaInfo if link == "" { return result, nil diff --git a/swordfish/volume.go b/swordfish/volume.go index 92648919..32096dca 100644 --- a/swordfish/volume.go +++ b/swordfish/volume.go @@ -564,8 +564,8 @@ func GetVolume(c common.Client, uri string) (*Volume, error) { return &volume, nil } -//nolint:dupl // ListReferencedVolumes gets the collection of Volume from a provided reference. -func ListReferencedVolumes(c common.Client, link string) ([]*Volume, error) { +// ListReferencedVolumes gets the collection of Volume from a provided reference. +func ListReferencedVolumes(c common.Client, link string) ([]*Volume, error) { //nolint:dupl var result []*Volume if link == "" { return result, nil