From d832801629d16b18fe5fffabdaa2fdc2c99bfd2a Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Thu, 12 Jan 2023 11:00:09 +0100 Subject: [PATCH] fix(instance): change two types as nullable (#1497) --- api/instance/v1/instance_sdk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/instance/v1/instance_sdk.go b/api/instance/v1/instance_sdk.go index c9bc01f95..3c10d4845 100644 --- a/api/instance/v1/instance_sdk.go +++ b/api/instance/v1/instance_sdk.go @@ -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 @@ -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