Skip to content

Commit

Permalink
fix: Pass payload during bios reset (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
kourtneyboss authored Sep 4, 2023
1 parent 22304b9 commit a5d75d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion redfish/bios.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5d75d5

Please sign in to comment.