Skip to content

Commit

Permalink
Merge pull request #54668 from garethgreenaway/2019_2_1_port_49223
Browse files Browse the repository at this point in the history
[master] Porting #49223 to master
  • Loading branch information
dwoz authored Dec 21, 2019
2 parents f64d610 + c1e1ed5 commit dd75c57
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 @@ -2542,7 +2542,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 @@ -762,7 +762,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 dd75c57

Please sign in to comment.