Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Fix patch image memory type #190

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coder-sdk/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type ImportImageReq struct {
// UpdateImageReq defines the requests parameters for a partial update of an image resource.
type UpdateImageReq struct {
DefaultCPUCores *float32 `json:"default_cpu_cores"`
DefaultMemoryGB *int `json:"default_memory_gb"`
DefaultMemoryGB *float32 `json:"default_memory_gb"`
DefaultDiskGB *int `json:"default_disk_gb"`
Description *string `json:"description"`
URL *string `json:"url"`
Expand Down