mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Fixed getting ethernet interfaces in CollectEthernetInterfaces()
This commit is contained in:
parent
0a6fb84d14
commit
f3427b0de9
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue