Skip to content

Commit

Permalink
Remove idempotent condition in method: get_option_value_from_args f…
Browse files Browse the repository at this point in the history
…rom `coriolisclient/cli/utils.py`
  • Loading branch information
Cristi1324 committed Nov 21, 2024
1 parent 139ac4e commit 7ac1d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coriolisclient/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def get_option_value_from_args(args, option_name, error_on_no_value=True):
with file_arg as fin:
raw_value = fin.read()

if not value and raw_value:
if raw_value:
try:
value = json.loads(raw_value)
except ValueError as ex:
Expand Down

0 comments on commit 7ac1d14

Please sign in to comment.