mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
1cd9a4d1b4
commit
744487864d
1 changed files with 1 additions and 1 deletions
|
@ -2343,7 +2343,7 @@ class GitPillar(GitBase):
|
|||
if repo.env:
|
||||
env = repo.env
|
||||
else:
|
||||
base_branch = self.opts['{0}_branch'.format(self.role)]
|
||||
base_branch = self.opts['{0}_base'.format(self.role)]
|
||||
env = 'base' if repo.branch == base_branch else repo.branch
|
||||
self.pillar_dirs[cachedir] = env
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue