gbmcweb gbmc-release-24.23.x: SRCREV bump 35c7165f47..b4430aef9b
Brandon Kim (1):
systems: Fix setBMInstance ROUTE
Fusion-Link: fusion2 N/A This path is not covered in presubmit
Tested: Copied from the gbmcweb commit message
Before, the following used to cause a crash
curl -X PATCH http://localhost:80/redfish/v1/Systems/system/Oem/Google/BareMetalInstance/ -d '{"AssetTag": "asdf"}'
After, the following succeeds
curl -X PATCH http://localhost:80/redfish/v1/Systems/system/Oem/Google/BareMetalInstance/ -d '{"AssetTag": "asdf"}'
wget -qO- http://localhost:80/redfish/v1/Systems/system/Oem/Google/BareMetalInstance
{
"@odata.id": "/redfish/v1/Systems/system/Oem/Google/BareMetalInstance",
"@odata.type": "#GoogleBareMetalInstance.v1_0_0.GoogleBareMetalInstance",
"AssetTag": "asdf",
"BoardSerialNumber": "",
"Family": "",
"ProductName": "",
"SKU": "",
"SystemSerialNumber": "",
"UUID": ""
}
Google-Bug-Id: 343232025
Change-Id: I75f5ef1604f466685d3d46b06369cbcb0bfcb846
Signed-off-by: Brandon Kim <brandonkim@google.com>
1 file changed