mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change __opts__ to self.opts
This commit is contained in:
parent
877e217388
commit
bc01c48122
1 changed files with 1 additions and 1 deletions
|
@ -1257,7 +1257,7 @@ class Cloud(object):
|
|||
time.sleep(3)
|
||||
|
||||
mopts_ = salt.config.DEFAULT_MINION_OPTS
|
||||
conf_path = '/'.join(__opts__['conf_file'].split('/')[:-1])
|
||||
conf_path = '/'.join(self.opts['conf_file'].split('/')[:-1])
|
||||
mopts_.update(
|
||||
salt.config.minion_config(
|
||||
os.path.join(conf_path,
|
||||
|
|
Loading…
Add table
Reference in a new issue