Skip to content

Commit

Permalink
Correct HttpBootUri JSON case
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Dec 11, 2023
1 parent 3d553d6 commit c12b236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redfish/computersystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ type Boot struct {
// The link to a collection of certificates used for booting through HTTPS by this computer system.
certificates string
// The URI to boot from when BootSourceOverrideTarget is set to UefiHttp.
HTTPBootURI string `json:",omitempty"`
HTTPBootURI string `json:"HttpBootUri,omitempty"`
}

// UnmarshalJSON unmarshals a Boot object from the raw JSON.
Expand Down
2 changes: 1 addition & 1 deletion redfish/computersystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var computerSystemBody = `{
"UefiHttp"
],
"UefiTargetBootSourceOverride": "uefi device path",
"HttpBootURI": "http://localhost/boot.efi"
"HttpBootUri": "http://localhost/boot.efi"
},
"BiosVersion": "P79 v1.00 (09/20/2013)",
"ProcessorSummary": {
Expand Down

0 comments on commit c12b236

Please sign in to comment.