mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix salt protocol matching
This commit is contained in:
parent
9fd4265ba7
commit
55edae3a29
@ -77,7 +77,7 @@ def cache_files(paths):
|
||||
payload = {'enc': 'aes'}
|
||||
ret = []
|
||||
for path in paths:
|
||||
if not path.startswith('salt;//'):
|
||||
if not path.startswith('salt://'):
|
||||
return False
|
||||
for path in paths:
|
||||
dest = os.path.join(__opts__['cachedir'], 'files', path)
|
||||
|
Loading…
Reference in New Issue
Block a user