Improve Redfish raw replay recovery and GUI diagnostics
This commit is contained in:
1 parent
66fb90233f
commit
a4a1a19a94
5 files changed
+231
-39
No files matched your search
@@ -319,6 +319,11 @@ func (s *Server) handleGetConfig(w http.ResponseWriter, r *http.Request) {
|
||||
"target_host": result.TargetHost,
|
||||
"collected_at": result.CollectedAt,
|
||||
}
|
||||
if result.RawPayloads != nil {
|
||||
if fetchErrors, ok := result.RawPayloads["redfish_fetch_errors"]; ok {
|
||||
response["redfish_fetch_errors"] = fetchErrors
|
||||
}
|
||||
}
|
||||
|
||||
if result.Hardware == nil {
|
||||
response["hardware"] = map[string]interface{}{}
|
||||
|
||||
Reference in new issue
Block a user