From a5d75d57ab586b0f78ff088e1157529b7ffab7bc Mon Sep 17 00:00:00 2001 From: kourtneyboss <138700298+kourtneyboss@users.noreply.github.com> Date: Mon, 4 Sep 2023 06:28:27 -0500 Subject: [PATCH] fix: Pass payload during bios reset (#268) --- redfish/bios.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redfish/bios.go b/redfish/bios.go index 6245e7f3..99a0bb7f 100644 --- a/redfish/bios.go +++ b/redfish/bios.go @@ -172,7 +172,8 @@ func (bios *Bios) ChangePassword(passwordName, oldPassword, newPassword string) // A system reset may be required for the default values to be applied. This // action may impact other resources. func (bios *Bios) ResetBios() error { - return bios.Post(bios.resetBiosTarget, nil) + payload := make(map[string]interface{}) + return bios.Post(bios.resetBiosTarget, payload) } // AllowedAttributeUpdateApplyTimes returns the set of allowed apply times to request when