mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix bad ref to srcpath
This commit is contained in:
parent
f3d81dd4ef
commit
39b98a35e4
@ -1241,7 +1241,7 @@ def recurse(name,
|
||||
|
||||
if not _src_path:
|
||||
pass
|
||||
elif _src_path.strip('/') not in __salt__['cp.list_master_dirs'](env, srcpath):
|
||||
elif _src_path.strip('/') not in __salt__['cp.list_master_dirs'](env, _src_path):
|
||||
ret['result'] = False
|
||||
ret['comment'] = (
|
||||
'The source: {0} does not exist on the master'.format(source)
|
||||
|
Loading…
Reference in New Issue
Block a user