Skip to content

Commit

Permalink
fix: typo in json serialisation of attached_to field
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed Jul 30, 2024
1 parent aaa6d6d commit c3229b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hwinfo/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ type HardwareItem struct {
CompatDevice *Id `json:"compat_device,omitempty"`
HardwareClass HardwareClass `json:"hardware_class,omitempty"`
Model string `json:"model,omitempty"`
AttachedTo uint `json:"attached_tp,omitempty"`
AttachedTo uint `json:"attached_to,omitempty"`
SysfsId string `json:"sysfs_id,omitempty"`
SysfsBusId string `json:"sysfs_bus_id,omitempty"`
SysfsDeviceLink string `json:"sysfs_device_link,omitempty"`
Expand Down

0 comments on commit c3229b7

Please sign in to comment.