mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add fix from merge forward
This commit is contained in:
parent
52f35f761a
commit
38e243fdfb
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ class Client(object):
|
|||
localsfilesdest = os.path.join(
|
||||
self.opts['cachedir'], 'localfiles', path.lstrip('|/'))
|
||||
filesdest = os.path.join(
|
||||
self.opts['cachedir'], 'files', saltenv, path.lstrip('|'))
|
||||
self.opts['cachedir'], 'files', saltenv, path.lstrip('|/'))
|
||||
|
||||
if os.path.exists(filesdest):
|
||||
return salt.utils.url.escape(filesdest) if escaped else filesdest
|
||||
|
|
Loading…
Add table
Reference in a new issue