Skip to content

Commit

Permalink
fix(instance): change two types as nullable (#1497)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 12, 2023
1 parent 14cf8da commit d832801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/instance/v1/instance_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2720,7 +2720,7 @@ type CreateImageRequest struct {
// Default value: x86_64
Arch Arch `json:"arch"`
// DefaultBootscript: default bootscript of the image
DefaultBootscript string `json:"default_bootscript,omitempty"`
DefaultBootscript *string `json:"default_bootscript,omitempty"`
// ExtraVolumes: additional volumes of the image
ExtraVolumes map[string]*VolumeTemplate `json:"extra_volumes,omitempty"`
// Deprecated: Organization: organization ID of the image
Expand All @@ -2732,7 +2732,7 @@ type CreateImageRequest struct {
// Tags: the tags of the image
Tags []string `json:"tags,omitempty"`
// Public: true to create a public image
Public bool `json:"public,omitempty"`
Public *bool `json:"public,omitempty"`
}

// CreateImage: create an instance image
Expand Down

0 comments on commit d832801

Please sign in to comment.