Skip to content

Commit

Permalink
fix logic (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws authored Sep 27, 2023
1 parent e44d277 commit 2ea36ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ def create_or_update_dataset(self, dataset_definition: dict, dataset_id: str=Non
else:
raise CidCritical(f'User choice is not to update {found_dataset.name}.')
elif not diff:
if not get_parameter(
if get_parameter(
param_name=found_dataset.name.lower().replace(' ', '-') + '-override',
message=f'Cannot get sql diff for {found_dataset.name}. Continue?',
choices=['override', 'exit'],
Expand Down

0 comments on commit 2ea36ca

Please sign in to comment.