aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorAlexander Scharinger <rng.dynamics@gmail.com>2021-11-26 22:57:28 +0100
committerAlexander Scharinger <rng.dynamics@gmail.com>2021-12-03 23:21:11 +0100
commit476526ac2b9ce20551e8fd6351eb949e05907d52 (patch)
tree5b02ab345a13f61204f28fbf03b0816bde7dbe26 /bridge
parent1eaf3ec0cb0de9de5bbf1d4f5131e22837740ec5 (diff)
downloadgit-bug-476526ac2b9ce20551e8fd6351eb949e05907d52.tar.gz
Fix: github bridge: push then pull without duplication
Diffstat (limited to 'bridge')
-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 {