aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/github/import.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go
index f6b729b7..d641b192 100644
--- a/bridge/github/import.go
+++ b/bridge/github/import.go
@@ -423,7 +423,8 @@ func (gi *githubImporter) ensureComment(repo *cache.RepoCache, b *cache.BugCache
return err
}
- target, err := b.ResolveOperationWithMetadata(keyGithubId, parseId(comment.Id))
+ var target git.Hash
+ target, err = b.ResolveOperationWithMetadata(keyGithubId, parseId(comment.Id))
if err != nil && err != cache.ErrNoMatchingOp {
// real error
return err