Skip to content

Commit

Permalink
fix: profile-values are shown in markdown even when there are values …
Browse files Browse the repository at this point in the history
…already

Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomo@ibm.com>
  • Loading branch information
AleJo2995 committed Sep 6, 2023
1 parent cd53ac6 commit 5f1bbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trestle/core/catalog/catalog_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _construct_set_parameters_dict(
values = tmp_dict.get('values', None)
# if values are None then don´t display them in the markdown
if values is not None:
new_dict = {'id': param_id, 'values': values}
new_dict = {'id': param_id, 'values': values, const.PROFILE_VALUES: ['<REPLACE_ME>']}
else:
new_dict = {'id': param_id, const.PROFILE_VALUES: ['<REPLACE_ME>']}
new_dict.pop('id', None)
Expand Down

0 comments on commit 5f1bbd2

Please sign in to comment.