Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mingjunzhang2019 committed Jul 13, 2023
1 parent 5f69b72 commit a932062
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ def get_new_config(commands, exist_conf, test_keys=None):
elif state == 'replaced':
n_conf = derive_config_from_merged_cmd(cmd, e_conf, test_keys)
elif state == 'overridden':
n_conf = cmd
n_conf = derive_config_from_merged_cmd(cmd, e_conf, test_keys)
# If the "cmd" is derived from playbook, that is "want", the below
# line should be good enough:
# n_conf = cmd

e_conf = n_conf

Expand Down

0 comments on commit a932062

Please sign in to comment.