From a42000194d51d7696dcd5a2f1f12afbb3dc5908c Mon Sep 17 00:00:00 2001 From: David Davis Date: Sat, 15 Oct 2022 08:14:57 -0400 Subject: [PATCH] Fix missing fields typo fixes #572 --- pulpcore/cli/common/openapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulpcore/cli/common/openapi.py b/pulpcore/cli/common/openapi.py index 89d7ac3b4..59169e195 100644 --- a/pulpcore/cli/common/openapi.py +++ b/pulpcore/cli/common/openapi.py @@ -191,7 +191,7 @@ def validate_body(self, schema: Any, body: Dict[str, Any], uploads: Dict[str, by missing_fields = set(schema["required"]) - set(body.keys()) - set(uploads.keys()) if missing_fields: raise OpenAPIError( - _("Required field(s) '{missing_field}' missing.").format( + _("Required field(s) '{missing_fields}' missing.").format( missing_fields=missing_fields ) )