aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-16 21:04:36 +0200
committerMichael Muré <batolettre@gmail.com>2019-06-16 21:04:36 +0200
commit08c0e18ade5241d124fc8a3424b7612174e82cef (patch)
treee7b1c0203d62e83ab8368d8a5974749fa97506dc /bridge/github
parentd69dcce806d280ddbd6a4fb17700153bc03da90b (diff)
downloadgit-bug-08c0e18ade5241d124fc8a3424b7612174e82cef.tar.gz
cache: expose the operation when creating a new bug
Diffstat (limited to 'bridge/github')
-rw-r--r--bridge/github/import.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go
index edb97c4f..6cfd022e 100644
--- a/bridge/github/import.go
+++ b/bridge/github/import.go
@@ -106,7 +106,7 @@ func (gi *githubImporter) ensureIssue(repo *cache.RepoCache, issue issueTimeline
}
// create bug
- b, err = repo.NewBugRaw(
+ b, _, err = repo.NewBugRaw(
author,
issue.CreatedAt.Unix(),
issue.Title,
@@ -140,7 +140,7 @@ func (gi *githubImporter) ensureIssue(repo *cache.RepoCache, issue issueTimeline
// if the bug doesn't exist
if b == nil {
// we create the bug as soon as we have a legit first edition
- b, err = repo.NewBugRaw(
+ b, _, err = repo.NewBugRaw(
author,
issue.CreatedAt.Unix(),
issue.Title,