From f3427b0de96ac4deadeb2bfa7064eff03df4b1e9 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Thu, 1 Aug 2024 12:48:05 -0600 Subject: [PATCH] Fixed getting ethernet interfaces in CollectEthernetInterfaces() --- internal/collect.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/collect.go b/internal/collect.go index 7d381af..45665a1 100644 --- a/internal/collect.go +++ b/internal/collect.go @@ -249,8 +249,7 @@ func CollectEthernetInterfaces(c *gofish.APIClient, q *QueryParams, systemID str // get all of the ethernet interfaces in our systems for _, system := range systems { - system.EthernetInterfaces() - eth, err := redfish.ListReferencedEthernetInterfaces(c, "/redfish/v1/Systems/"+system.ID+"/EthernetInterfaces") + eth, err := system.EthernetInterfaces() if err != nil { errList = append(errList, err) }