Skip to content

Commit d43b2b5

Browse files
authored
feat(marketplace): add description for the label field (scaleway#2360)
1 parent 5efaec4 commit d43b2b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/marketplace/v2/marketplace_sdk.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ type Image struct {
240240
ValidUntil *time.Time `json:"valid_until"`
241241

242242
// Label: typically an identifier for a distribution (ex. "ubuntu_focal").
243+
// This label can be used in the image field of the server creation request.
243244
Label string `json:"label"`
244245
}
245246

@@ -257,7 +258,7 @@ type LocalImage struct {
257258
// Zone: availability Zone where this local image is available.
258259
Zone scw.Zone `json:"zone"`
259260

260-
// Label: image label this image belongs to.
261+
// Label: this label can be used in the image field of the server creation request.
261262
Label string `json:"label"`
262263

263264
// Type: type of this local image.

0 commit comments

Comments
 (0)