From 34e6f3c2248583e10e3b5ab83df42f1de7005c18 Mon Sep 17 00:00:00 2001 From: Matthias Simon Date: Sun, 7 Feb 2021 17:01:59 +0100 Subject: Fix comparison mix-up in gitlab importer --- bridge/gitlab/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge/gitlab/import.go') diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index 897d65de..cf4f0039 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -127,8 +127,8 @@ func (gi *gitlabImporter) ensureIssue(repo *cache.RepoCache, issue *gitlab.Issue b, err := repo.ResolveBugMatcher(func(excerpt *cache.BugExcerpt) bool { return excerpt.CreateMetadata[core.MetaKeyOrigin] == target && excerpt.CreateMetadata[metaKeyGitlabId] == parseID(issue.IID) && - excerpt.CreateMetadata[metaKeyGitlabBaseUrl] == gi.conf[confKeyProjectID] && - excerpt.CreateMetadata[metaKeyGitlabProject] == gi.conf[confKeyGitlabBaseUrl] + excerpt.CreateMetadata[metaKeyGitlabBaseUrl] == gi.conf[confKeyGitlabBaseUrl] && + excerpt.CreateMetadata[metaKeyGitlabProject] == gi.conf[confKeyProjectID] }) if err == nil { return b, nil -- cgit