mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
refactor: changed links to store ODataID instead of ID
This commit is contained in:
parent
c6b80c8ddc
commit
448c5fb1ca
1 changed files with 2 additions and 2 deletions
|
|
@ -279,12 +279,12 @@ func walkSystems(rf_systems []*redfish.ComputerSystem, rf_chassis *redfish.Chass
|
|||
Msg("failed to get manager for system")
|
||||
} else {
|
||||
for _, manager := range rf_managers {
|
||||
managerLinks = append(managerLinks, manager.ID)
|
||||
managerLinks = append(managerLinks, manager.ODataID)
|
||||
}
|
||||
}
|
||||
|
||||
if rf_chassis != nil {
|
||||
chassisLinks = append(chassisLinks, rf_chassis.ID)
|
||||
chassisLinks = append(chassisLinks, rf_chassis.ODataID)
|
||||
}
|
||||
|
||||
// get all of the links to the chassis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue