diff options
author | Michael Muré <batolettre@gmail.com> | 2019-12-09 01:03:37 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-12-09 01:03:37 +0100 |
commit | 8f7f89561b59a0988d56bc41a30093730e35f70e (patch) | |
tree | 3c842c42c715d10e9a0b9eccb69dad62ba3683cf /bridge/github/import.go | |
parent | 981a4a848b1329da1a73270e27633911f9298bb1 (diff) | |
download | git-bug-8f7f89561b59a0988d56bc41a30093730e35f70e.tar.gz |
bridge: fix incorrect last import time on context cancel
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r-- | bridge/github/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go index c0fb3d6c..67ab9351 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -78,7 +78,7 @@ func (gi *githubImporter) ImportAll(ctx context.Context, repo *cache.RepoCache, } } - if err := gi.iterator.Error(); err != nil && err != context.Canceled { + if err := gi.iterator.Error(); err != nil { gi.out <- core.NewImportError(err, "") } }() |