From 3dc66dbf82da65f8b969dc3ee22d1c76bc3c1b0e Mon Sep 17 00:00:00 2001 From: Ma Huihuang <007mhh@gmail.com> Date: Fri, 8 Apr 2022 23:14:22 +0800 Subject: [PATCH] fix(simple-storage/device): add device name (#168) --- redfish/simplestorage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redfish/simplestorage.go b/redfish/simplestorage.go index 6a8ae000..2b641ac6 100644 --- a/redfish/simplestorage.go +++ b/redfish/simplestorage.go @@ -12,6 +12,8 @@ import ( // Device shall describe a storage device visible to SimpleStorage. type Device struct { + // Name shall be a user-friendly name for the device. + Name string // CapacityBytes shall represent the size (in bytes) of the Storage Device. CapacityBytes int64 // Manufacturer shall indicate the name of the manufacturer of this storage device.