diff options
author | Michael Muré <batolettre@gmail.com> | 2021-02-08 09:35:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 09:35:09 +0100 |
commit | 0eb4a5907118f5cad6e4dea64a6ca87aad0247ee (patch) | |
tree | e0532e06a96d83c1c47fcb562c33fb5ab13054e0 /bridge | |
parent | c5313bd4f2c2d87e8116d15d73bf9bd83b654e3c (diff) | |
parent | 34e6f3c2248583e10e3b5ab83df42f1de7005c18 (diff) | |
download | git-bug-0eb4a5907118f5cad6e4dea64a6ca87aad0247ee.tar.gz |
Merge pull request #556 from 5nord/366-multiple-bugs-with-gitlab-bridge
Fix comparison mix-up in gitlab importer
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/gitlab/import.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |