aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-01-03 13:52:03 +0100
committerMichael Muré <batolettre@gmail.com>2020-01-03 13:52:03 +0100
commitd2ed6747e593e12c317d5191573d5d3460d72660 (patch)
tree2fa3c68203d761c373a27aa89face4d6ce5cc80f /bridge/gitlab
parentfc568209f073b9d775a09e0dbb8289cf9e5749bf (diff)
downloadgit-bug-d2ed6747e593e12c317d5191573d5d3460d72660.tar.gz
gitlab: fix edit not being pushed with baseUrl
fix #284
Diffstat (limited to 'bridge/gitlab')
-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
}