mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #16353 from cachedout/data_p_ssh
Use unique name for data.p in salt-ssh
This commit is contained in:
commit
b213c5b9c0
@ -627,7 +627,7 @@ class Single(object):
|
||||
cdir = os.path.join(self.opts['cachedir'], 'minions', self.id)
|
||||
if not os.path.isdir(cdir):
|
||||
os.makedirs(cdir)
|
||||
datap = os.path.join(cdir, 'data.p')
|
||||
datap = os.path.join(cdir, 'ssh_data.p')
|
||||
refresh = False
|
||||
if not os.path.isfile(datap):
|
||||
refresh = True
|
||||
|
Loading…
Reference in New Issue
Block a user