Skip to content

Commit

Permalink
Change int to uint64 for large fields (#5651)
Browse files Browse the repository at this point in the history
  • Loading branch information
samcoe committed May 17, 2022
1 parent c9503df commit 9454ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/codespaces/api/api.go
Expand Up @@ -198,8 +198,8 @@ type CodespaceMachine struct {
Name string `json:"name"`
DisplayName string `json:"display_name"`
OperatingSystem string `json:"operating_system"`
StorageInBytes int `json:"storage_in_bytes"`
MemoryInBytes int `json:"memory_in_bytes"`
StorageInBytes uint64 `json:"storage_in_bytes"`
MemoryInBytes uint64 `json:"memory_in_bytes"`
CPUCount int `json:"cpus"`
}

Expand Down

0 comments on commit 9454ad3

Please sign in to comment.