From fc09f2a492348f3b6013308697cbc86e15e8ab47 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sun, 23 Jun 2019 00:52:30 +0200 Subject: [bridge/github] exporter: Add test cases correct delete repo improve tests set user identity --- bridge/github/export.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bridge/github/export.go') diff --git a/bridge/github/export.go b/bridge/github/export.go index 393146d6..947d5aca 100644 --- a/bridge/github/export.go +++ b/bridge/github/export.go @@ -35,7 +35,7 @@ type githubExporter struct { // cache identities clients identityClient map[string]*githubv4.Client - // map identity with their tokens + // map identities with their tokens identityToken map[string]string // github repository ID @@ -201,6 +201,9 @@ func (ge *githubExporter) exportBug(b *cache.BugCache, since time.Time) error { return errors.Wrap(err, "exporting github issue") } + // incr exported bugs + ge.exportedBugs++ + hash, err := createOp.Hash() if err != nil { return errors.Wrap(err, "comment hash") -- cgit