Skip to content

Commit

Permalink
fix: SetDefaultBootOrder uri (stmcginnis#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danile71 authored and Markus Witt committed May 24, 2023
1 parent 449840a commit 098ad34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redfish/computersystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ func (computersystem *ComputerSystem) SetDefaultBootOrder() error {
header["If-Match"] = computersystem.etag
}

resp, err := computersystem.Client.PostWithHeaders(computersystem.resetTarget, nil, header)
resp, err := computersystem.Client.PostWithHeaders(computersystem.setDefaultBootOrderTarget, nil, header)
if err == nil {
defer resp.Body.Close()
}
Expand Down

0 comments on commit 098ad34

Please sign in to comment.