diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2024-02-20 09:51:29 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-13 00:26:48 +0300 |
commit | 9970e93f794d0110de436828775e333e81330ad5 (patch) | |
tree | 4cc741ced80cf190d2a6b0fd35b8fe10a5fbe054 /.github/ISSUE_TEMPLATE/config.yml | |
parent | 6f4bd2904fd231c90ee86040f067018088097715 (diff) | |
download | bmcweb-9970e93f794d0110de436828775e333e81330ad5.tar.xz |
Correct Actions/Manager.ResetToDefaults parameter name
According to the Redfish Data Model specification the correct parameter
name for the '/Actions/Manager.ResetToDefaults' action is not
'ResetToDefaults' but 'ResetType'.
The mistake was originally introduced in the commit "Redfish: Manager:
ResetToDefault" (3e40fc742265c3ec1384e7e5994e62aed356331f).
Change parameter name to match with the specification.
Leave some support for the old parameter name to keep the compatibility
with the old clients.
Tested:
The POST request
/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults
with {"ResetType": "ResetAll"} body accepted successfully.
Redfish validator passed.
Change-Id: I6aab20314f85dbda16ad3758091de8822943b761
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to '.github/ISSUE_TEMPLATE/config.yml')
0 files changed, 0 insertions, 0 deletions