Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2019-10-22 06:53:13 +0300
committerjramsay <wchandler@gitlab.com>2019-10-24 06:10:42 +0300
commitdefaa3df9daaf160102be35150beb78de2bbbca8 (patch)
tree27d15eda6fd06c5e3c1ffa83f065c5e53950020d
parent7deca355dda67ddad644c84f2e8ca98501f33220 (diff)
Rename refmaps dict to resolve lint error
-rw-r--r--internal/git/remote/remote.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/git/remote/remote.go b/internal/git/remote/remote.go
index 37eebe9f1..dd60706b1 100644
--- a/internal/git/remote/remote.go
+++ b/internal/git/remote/remote.go
@@ -8,7 +8,7 @@ import (
"gitlab.com/gitlab-org/gitaly/internal/git/repository"
)
-var REFMAPS = map[string]string{
+var stdRefmaps = map[string]string{
"allRefs": "+refs/*:refs/*",
"heads": "+refs/heads/*:refs/heads/*",
"tags": "+refs/tags/*:refs/tags/*",
@@ -147,7 +147,7 @@ func parseRefmaps(refmaps []string) []string {
continue
}
- expanded, ok := REFMAPS[refmap]
+ expanded, ok := stdRefmaps[refmap]
if ok {
parsedMaps = append(parsedMaps, expanded)
} else {