aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-07-23 17:29:53 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-07-23 17:29:53 +0200
commit0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706 (patch)
treefbff33e372cdd8ca5008a61d9993785baa17b9f4 /bridge/gitlab/import.go
parentd098a96407c55281c28bfdea9925df587b4d4400 (diff)
downloadgit-bug-0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706.tar.gz
bridge/gitlab: change validateProjectURL signature
bridge/gitlab: code cleanup
Diffstat (limited to 'bridge/gitlab/import.go')
-rw-r--r--bridge/gitlab/import.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go
index 67d9aa25..b19587a9 100644
--- a/bridge/gitlab/import.go
+++ b/bridge/gitlab/import.go
@@ -108,9 +108,9 @@ func (gi *gitlabImporter) ensureIssue(repo *cache.RepoCache, issue *gitlab.Issue
cleanText,
nil,
map[string]string{
- keyOrigin: target,
- keyGitlabId: parseID(issue.ID),
- keyGitlabUrl: issue.WebURL,
+ core.KeyOrigin: target,
+ keyGitlabId: parseID(issue.ID),
+ keyGitlabUrl: issue.WebURL,
},
)