diff options
author | Matthias Simon <matthias.simon@nokia.com> | 2021-02-07 17:01:59 +0100 |
---|---|---|
committer | Matthias Simon <matthias.simon@nokia.com> | 2021-02-07 17:01:59 +0100 |
commit | 34e6f3c2248583e10e3b5ab83df42f1de7005c18 (patch) | |
tree | e0532e06a96d83c1c47fcb562c33fb5ab13054e0 /bridge/gitlab | |
parent | c5313bd4f2c2d87e8116d15d73bf9bd83b654e3c (diff) | |
download | git-bug-34e6f3c2248583e10e3b5ab83df42f1de7005c18.tar.gz |
Fix comparison mix-up in gitlab importer
Diffstat (limited to 'bridge/gitlab')
-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 |