From 524eda46b61a692b8ad86ef3d34cf4c8ac7dca93 Mon Sep 17 00:00:00 2001 From: Priyanshu Krishnan <118425422+Krishnan-Priyanshu@users.noreply.github.com> Date: Sun, 28 Jan 2024 02:30:37 +0530 Subject: [PATCH] Update storage struct to support Oem data --- redfish/storage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redfish/storage.go b/redfish/storage.go index 3e167c7b..1d3ae5eb 100644 --- a/redfish/storage.go +++ b/redfish/storage.go @@ -63,6 +63,8 @@ type Storage struct { EnclosuresCount int // setEncryptionKeyTarget is the URL to send SetEncryptionKey requests. setEncryptionKeyTarget string + // Oem are all OEM data under top level storage section + Oem json.RawMessage `json:"Oem"` } // UnmarshalJSON unmarshals a Storage object from the raw JSON.