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-22 06:53:13 +0300
commit517572a42c70a33736c99a1d8eefe1a7256302f7 (patch)
tree43cf8b16bcf77b51a20fc2fc7d368f56208e4b02
parentd69dc50180e31737da61d4595a5d314058107a63 (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 {