diff --git a/plugins/hub/osbuild.py b/plugins/hub/osbuild.py index 20de306..2b2d109 100644 --- a/plugins/hub/osbuild.py +++ b/plugins/hub/osbuild.py @@ -112,7 +112,9 @@ "$ref": "#/definitions/ostree" }, "upload_options": { - "oneOf": [ + # this should be really 'oneOf', but the minimal required + # properties in AWSEC2 and GCP options overlap. + "anyOf": [ {"$ref": "#/definitions/AWSEC2UploadOptions"}, {"$ref": "#/definitions/AWSS3UploadOptions"}, {"$ref": "#/definitions/GCPUploadOptions"},