From 476526ac2b9ce20551e8fd6351eb949e05907d52 Mon Sep 17 00:00:00 2001 From: Alexander Scharinger Date: Fri, 26 Nov 2021 22:57:28 +0100 Subject: [PATCH] Fix: github bridge: push then pull without duplication --- bridge/github/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {