Skip to content

Commit

Permalink
Porting PR saltstack#49223 to 2019.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgreenaway committed Sep 19, 2019
1 parent 8d4d5ea commit 402fd76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,7 @@ def process_config_dir(self):
process_config_dir._mixin_prio_ = ConfigDirMixIn._mixin_prio_

def setup_config(self):
keys_config = config.master_config(self.get_config_file_path())
keys_config = config.client_config(self.get_config_file_path())
if self.options.gen_keys:
# Since we're generating the keys, some defaults can be assumed
# or tweaked
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/utils/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def setUp(self):
self.log_file = '/tmp/salt_key_parser_test'
self.key_logfile = '/tmp/key_logfile'
# Function to patch
self.config_func = 'salt.config.master_config'
self.config_func = 'salt.config.client_config'

# Mock log setup
self.setup_log()
Expand Down

0 comments on commit 402fd76

Please sign in to comment.