From 7ccd34999962d74565c8b4c95501d7093a2e7798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Mon, 24 Oct 2022 14:56:56 +0200 Subject: [PATCH] hub: make `location` optional for `AzureUploadOptions` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Azure Resource Group Location is no longer required and osbuild-composer can determine the correct Location from the provided Resource Group. Related to https://github.com/osbuild/osbuild-composer/pull/3093. Signed-off-by: Tomáš Hozza --- plugins/hub/osbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hub/osbuild.py b/plugins/hub/osbuild.py index fc94778..20de306 100644 --- a/plugins/hub/osbuild.py +++ b/plugins/hub/osbuild.py @@ -172,7 +172,7 @@ OSBUILD_IMAGE_SCHEMA = { "AzureUploadOptions": { "type": "object", "additionalProperties": False, - "required": ["tenant_id", "subscription_id", "resource_group", "location"], + "required": ["tenant_id", "subscription_id", "resource_group"], "properties": { "tenant_id": { "type": "string"