aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-12-04 12:28:11 +0100
committerGitHub <noreply@github.com>2021-12-04 12:28:11 +0100
commit8fefcbd58e29084a9e511ce967b48090cbc5ddcd (patch)
tree5b02ab345a13f61204f28fbf03b0816bde7dbe26 /bridge/github/import.go
parent1eaf3ec0cb0de9de5bbf1d4f5131e22837740ec5 (diff)
parent476526ac2b9ce20551e8fd6351eb949e05907d52 (diff)
downloadgit-bug-8fefcbd58e29084a9e511ce967b48090cbc5ddcd.tar.gz
Merge pull request #726 from MichaelMure/rng-dynamics/fix-push-pull-bug-duplication
Fix: github bridge: push then pull without duplication
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r--bridge/github/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go
index a41083d2..2cf90924 100644
--- a/bridge/github/import.go
+++ b/bridge/github/import.go
@@ -184,7 +184,7 @@ func (gi *githubImporter) ensureIssue(ctx context.Context, repo *cache.RepoCache
// resolve bug
b, err := repo.ResolveBugMatcher(func(excerpt *cache.BugExcerpt) bool {
- return excerpt.CreateMetadata[core.MetaKeyOrigin] == target &&
+ return excerpt.CreateMetadata[metaKeyGithubUrl] == issue.Url.String() &&
excerpt.CreateMetadata[metaKeyGithubId] == parseId(issue.Id)
})
if err == nil {