mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
revert 00bd39fd8d
This commit is contained in:
parent
7bcd17129d
commit
9abb33f883
@ -2070,7 +2070,7 @@ def cache_node_list(nodes, provider, opts):
|
||||
if not 'update_cachedir' in opts or not opts['update_cachedir']:
|
||||
return
|
||||
|
||||
base = os.path.join(init_cachedir(opts['cachedir']), 'active')
|
||||
base = os.path.join(init_cachedir(), 'active')
|
||||
driver = opts['providers'][provider].keys()[0]
|
||||
prov_dir = os.path.join(base, driver, provider)
|
||||
if not os.path.exists(prov_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user