mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixes #27217 clear_old_remotes clears wrong directory (gitfs)
This commit is contained in:
parent
de6e5abe6c
commit
8c0991d527
1 changed files with 1 additions and 1 deletions
|
@ -1609,7 +1609,7 @@ class GitBase(object):
|
|||
pass
|
||||
to_remove = []
|
||||
for item in cachedir_ls:
|
||||
if item in ('hash', 'refs'):
|
||||
if item in ('gitfs', 'refs'):
|
||||
continue
|
||||
path = os.path.join(self.cache_root, item)
|
||||
if os.path.isdir(path):
|
||||
|
|
Loading…
Add table
Reference in a new issue