bmcweb: Fix Drive ResetActionInfo Output
The Parameters should be an array of parameter instead of a single one.
Tested:
```
wget -qO- http://localhost:80/redfish/v1/Chassis/chassis_1/Drives/chassis_1/ResetActionInfo
{
"@odata.id": "/redfish/v1/Chassis/chassis_1/Drives/chassis_1/ResetActionInfo",
"@odata.type": "#ActionInfo.v1_1_2.ActionInfo",
"Id": "ResetActionInfo",
"Name": "Reset Action Info",
"Parameters": [
{
"AllowableValues": [
"PowerCycle",
"ForceRestart"
],
"DataType": "String",
"Name": "ResetType",
"Required": true
}
]
}
```
Google-Bug-Id: 269367593
Change-Id: I322bc40562eedd10d84344748dee21b5bf9e9d8d
Signed-off-by: Willy Tu <wltu@google.com>
1 file changed