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

Commit deb23b4

Browse files
authored
Fix patch image memory type (#190)
1 parent d14be73 commit deb23b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coder-sdk/image.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type ImportImageReq struct {
4747
// UpdateImageReq defines the requests parameters for a partial update of an image resource.
4848
type UpdateImageReq struct {
4949
DefaultCPUCores *float32 `json:"default_cpu_cores"`
50-
DefaultMemoryGB *int `json:"default_memory_gb"`
50+
DefaultMemoryGB *float32 `json:"default_memory_gb"`
5151
DefaultDiskGB *int `json:"default_disk_gb"`
5252
Description *string `json:"description"`
5353
URL *string `json:"url"`

0 commit comments

Comments
 (0)