mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix salt-ssh cp.get_url wapper bug
In fileclient.get_url function, the 2nd arg is "dest", not "saltenv".
This commit is contained in:
parent
251c85bd81
commit
e556be369a
@ -68,7 +68,7 @@ def get_url(path, dest, saltenv='base'):
|
||||
'''
|
||||
retrieve a URL
|
||||
'''
|
||||
src = __context__['fileclient'].get_url(
|
||||
src = __context__['fileclient'].cache_file(
|
||||
path,
|
||||
saltenv,
|
||||
cachedir=os.path.join('salt-ssh', __salt__.kwargs['id_']))
|
||||
|
Loading…
Reference in New Issue
Block a user