File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ type Machine struct {
1717 ID string `json:"id"`
1818 Name string `json:"name"`
1919 OS string `json:"os"`
20- RAM string `json:"ram"`
20+ RAM int64 `json:"ram,string "`
2121 CPUs int `json:"cpus"`
2222 GPU string `json:"gpu"`
2323 State MachineState `json:"state"`
2424 Region string `json:"region"`
25- StorageTotal int `json:"storageTotal"`
26- StorageUsed int `json:"storageUsed"`
27- UsageRate float64 `json:"usageRate"`
25+ StorageTotal int64 `json:"storageTotal,string "`
26+ StorageUsed int64 `json:"storageUsed,string "`
27+ UsageRate string `json:"usageRate"`
2828 ShutdownTimeoutInHours int `json:"shutdownTimeoutInHours"`
2929 ShutdownTimeoutForces bool `json:"shutdownTimeoutForces"`
3030 AutoSnapshotFrequency int `json:"autoSnapshotFrequency"`
You can’t perform that action at this time.
0 commit comments