mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Removed extra print in QueryEthernetInterfaces
This commit is contained in:
parent
37aa24defc
commit
174e2084fc
1 changed files with 0 additions and 2 deletions
|
|
@ -464,10 +464,8 @@ func QueryEthernetInterfaces(client *bmclib.Client, q *QueryParams) ([]byte, err
|
||||||
return nil, fmt.Errorf("could not query storage systems (%v:%v): %v", q.Host, q.Port, err)
|
return nil, fmt.Errorf("could not query storage systems (%v:%v): %v", q.Host, q.Port, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var interfaces []*redfish.EthernetInterface
|
var interfaces []*redfish.EthernetInterface
|
||||||
for _, system := range systems {
|
for _, system := range systems {
|
||||||
fmt.Printf("%s\n", system.ID + "/EthernetInterfaces/")
|
|
||||||
i, err := redfish.ListReferencedEthernetInterfaces(c, "/redfish/v1/Systems/" + system.ID + "/EthernetInterfaces/")
|
i, err := redfish.ListReferencedEthernetInterfaces(c, "/redfish/v1/Systems/" + system.ID + "/EthernetInterfaces/")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue