Skip to content

Commit

Permalink
fix: jans-cli sort optional fields (ref: #1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Sep 21, 2022
1 parent 815b5fb commit 7a2683b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jans-cli/cli/config_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,7 @@ def process_post(self, endpoint):
if not field in required_fields:
optional_fields.append(field)

optional_fields.sort()
if optional_fields:
fill_optional = self.get_input(values=['y', 'n'], text='Populate optional fields?')
fields_numbers = []
Expand Down

0 comments on commit 7a2683b

Please sign in to comment.