refactor: changed links to store ODataID instead of ID

This commit is contained in:
David Allen 2025-06-19 16:13:41 -06:00
parent c6b80c8ddc
commit 448c5fb1ca
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -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