Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commitdeb23b4

Browse files
authored
Fix patch image memory type (#190)
1 parentd14be73 commitdeb23b4

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
typeUpdateImageReqstruct {
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)

[8]ページ先頭

©2009-2025 Movatter.jp