Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(instance): change two types as nullable #1497

Merged
merged 1 commit into from
Jan 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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