aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-01-03 22:35:46 +0100
committerGitHub <noreply@github.com>2020-01-03 22:35:46 +0100
commitca1d305308d4ee6d0fec16a0af10b62bb52cd265 (patch)
tree7cb04a91c83a7dabb7a36bccd60be6dd2417fd20 /bridge/gitlab/export.go
parentfc568209f073b9d775a09e0dbb8289cf9e5749bf (diff)
parent86b114ae7e0ff376c84381bdb0d466f0c1c11ad5 (diff)
downloadgit-bug-ca1d305308d4ee6d0fec16a0af10b62bb52cd265.tar.gz
Merge pull request #285 from MichaelMure/fix-gitlab
Fix gitlab
Diffstat (limited to 'bridge/gitlab/export.go')
-rw-r--r--bridge/gitlab/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
index d42ef1cd..2ba149a2 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -159,7 +159,7 @@ func (ge *gitlabExporter) exportBug(ctx context.Context, b *cache.BugCache, sinc
gitlabID, ok := snapshot.GetCreateMetadata(metaKeyGitlabId)
if ok {
gitlabBaseUrl, ok := snapshot.GetCreateMetadata(metaKeyGitlabBaseUrl)
- if ok && gitlabBaseUrl != ge.conf[gitlabBaseUrl] {
+ if ok && gitlabBaseUrl != ge.conf[keyGitlabBaseUrl] {
out <- core.NewExportNothing(b.Id(), "skipping issue imported from another Gitlab instance")
return
}