mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27382 from terminalmage/revert-27218
Revert "fixes #27217 clear_old_remotes clears wrong directory (gitfs)"
This commit is contained in:
commit
633af56517
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 ('gitfs', 'refs'):
|
||||
if item in ('hash', 'refs'):
|
||||
continue
|
||||
path = os.path.join(self.cache_root, item)
|
||||
if os.path.isdir(path):
|
||||
|
|
Loading…
Add table
Reference in a new issue