Skip to content

Commit

Permalink
api: remove unnecessary check for cli --data arg
Browse files Browse the repository at this point in the history
  • Loading branch information
orndorffgrant committed Jan 3, 2024
1 parent 893aeb3 commit ff75677
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions uaclient/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ def _process_data(
raise errors.APIJSONDataFormatError(data=data)

for k, v in json_data.items():
if not k or not v:
raise errors.APIBadArgsFormat(arg="{}:{}".format(k, v))

if k not in fields:
warnings.append(
ErrorWarningObject(
Expand Down

0 comments on commit ff75677

Please sign in to comment.