Skip to content

Commit

Permalink
make introspection.RootDiskType int64 rather than int (#1634)
Browse files Browse the repository at this point in the history
Fixes tests (and functionality I suspect!) on 32-bit systems.
  • Loading branch information
mwhudson committed Jul 6, 2020
1 parent 2921f45 commit 48f1f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ require (
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.7
)

go 1.13
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ type RootDiskType struct {
ByPath string `json:"by_path"`
Rotational bool `json:"rotational"`
Serial string `json:"serial"`
Size int `json:"size"`
Size int64 `json:"size"`
Vendor string `json:"vendor"`
Wwn string `json:"wwn"`
WwnVendorExtension string `json:"wwn_vendor_extension"`
Expand Down

0 comments on commit 48f1f12

Please sign in to comment.