From 417a941a1ef04ce3b2398a0dd8fdf2a20e4310c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Mon, 24 Oct 2022 14:17:12 +0200 Subject: [PATCH] internal/target/azure_image: mark `Location` as optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Hozza --- internal/target/azure_image_target.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/target/azure_image_target.go b/internal/target/azure_image_target.go index e68e4050e..c5b5c713d 100644 --- a/internal/target/azure_image_target.go +++ b/internal/target/azure_image_target.go @@ -4,7 +4,7 @@ const TargetNameAzureImage TargetName = "org.osbuild.azure.image" type AzureImageTargetOptions struct { TenantID string `json:"tenant_id"` - Location string `json:"location"` + Location string `json:"location,omitempty"` SubscriptionID string `json:"subscription_id"` ResourceGroup string `json:"resource_group"` }