Skip to content

Commit

Permalink
config-mgmt: T6925: return from verify function on config object None (
Browse files Browse the repository at this point in the history
  • Loading branch information
jestabro authored Dec 2, 2024
1 parent 0808301 commit 29cc3d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/conf_mode/system_config-management.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def get_config(config=None):


def verify(mgmt):
if mgmt is None:
return

d = mgmt.config_dict
confirm = d.get('commit_confirm', {})
if confirm.get('action', '') == 'reload' and 'commit_revisions' not in d:
Expand Down

0 comments on commit 29cc3d7

Please sign in to comment.