joyent / kosh

Second-generation shell for accessing the Conch API
Mozilla Public License 2.0
2 stars 5 forks source link

unmarshal error when fetching report #94

Open karenetheridge opened 3 years ago

karenetheridge commented 3 years ago

kosh-prod --json device E346530X8B02780 report gives error: "json: cannot unmarshal number 14400.0 into Go struct field Disk.latest_report.disks.size of type int"

interestingly, however, the report doesn't actually contain a value 14400.0 -- I only see an integer 14400.