plugin/hub: fix typo

It is schema, not schmea. That is not even a word.
This commit is contained in:
Christian Kellner 2020-09-16 12:43:34 +02:00
parent 2f5bea53f0
commit d0d167d2f8

View file

@ -9,7 +9,7 @@ sys.path.insert(0, "/usr/share/koji-hub/")
import kojihub # pylint: disable=import-error, wrong-import-position
OSBUILD_IMAGE_SCHMEA = {
OSBUILD_IMAGE_SCHEMA = {
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "osbuildImage arguments",
"type": "array",
@ -73,7 +73,7 @@ def osbuildImage(name, version, distro, image_types, target, arches, opts=None,
task = {"channel": "image"}
try:
jsonschema.validate(args, OSBUILD_IMAGE_SCHMEA)
jsonschema.validate(args, OSBUILD_IMAGE_SCHEMA)
except jsonschema.exceptions.ValidationError as err:
raise koji.ParameterError(str(err)) from None