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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy