diff options
author | Amine <hilalyamine@gmail.com> | 2019-12-09 15:22:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 15:22:14 +0100 |
commit | 69af7a1e0c2647c354fd9c5b55a254ba677200e1 (patch) | |
tree | 3c842c42c715d10e9a0b9eccb69dad62ba3683cf /bridge | |
parent | 981a4a848b1329da1a73270e27633911f9298bb1 (diff) | |
parent | 8f7f89561b59a0988d56bc41a30093730e35f70e (diff) | |
download | git-bug-69af7a1e0c2647c354fd9c5b55a254ba677200e1.tar.gz |
Merge pull request #272 from MichaelMure/fix-import-time-save
bridge: fix incorrect last import time on context cancel
Diffstat (limited to 'bridge')
-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, "") } }() |