From b5563b15b024f529b34e34f1c2f4a90ddfab313e Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 19 Apr 2024 06:36:14 -0500 Subject: [PATCH] Add deprecation note to Storage.StorageControllers This property has been deprecated in favor of linking to a collection of objects, rather than embedding in the storage object. This adds a note to make it clear to consumers that this property may not be the right way to access this information if talking to a newer system. Signed-off-by: Sean McGinnis --- redfish/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/redfish/storage.go b/redfish/storage.go index 1c725cde..bd36a345 100644 --- a/redfish/storage.go +++ b/redfish/storage.go @@ -140,6 +140,7 @@ type Storage struct { Status common.Status // StorageControllers is a collection that indicates all the storage // controllers that this resource represents. + // This property has been deprecated in favor of Controllers to allow for storage controllers to be represented as their own resources. StorageControllers []StorageController // StorageControllersCount is the number of storage controllers. StorageControllersCount int `json:"StorageControllers@odata.count"`