mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Drop replacing slash in git branch name
This commit is contained in:
parent
2dbbcb5ed1
commit
e120c04617
1 changed files with 4 additions and 3 deletions
|
@ -491,9 +491,10 @@ class GitProvider:
|
|||
self._cache_basename = "_"
|
||||
if self.id.startswith("__env__"):
|
||||
try:
|
||||
self._cache_basename = self.get_checkout_target().replace(
|
||||
"/", "-"
|
||||
) # replace '/' with '-' to not cause trouble with file-system
|
||||
## DGM self._cache_basename = self.get_checkout_target().replace(
|
||||
## DGM "/", "-"
|
||||
## DGM ) # replace '/' with '-' to not cause trouble with file-system
|
||||
self._cache_basename = self.get_checkout_target()
|
||||
|
||||
except AttributeError:
|
||||
log.critical(
|
||||
|
|
Loading…
Add table
Reference in a new issue