Skip to content

Commit

Permalink
Add deprecation note to Storage.StorageControllers
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stmcginnis committed Apr 19, 2024
1 parent 1e61f06 commit b5563b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redfish/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:"[email protected]"`
Expand Down

0 comments on commit b5563b1

Please sign in to comment.