mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
Merge pull request #556 from 5nord/366-multiple-bugs-with-gitlab-bridge
Fix comparison mix-up in gitlab importer
This commit is contained in:
commit
0eb4a59071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user