Skip to content

Commit

Permalink
Fix missing fields typo
Browse files Browse the repository at this point in the history
fixes pulp#572
  • Loading branch information
daviddavis committed Oct 15, 2022
1 parent fad65cb commit a420001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulpcore/cli/common/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)
Expand Down

0 comments on commit a420001

Please sign in to comment.