aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/bridge.go
diff options
context:
space:
mode:
authorJosh Bialkowski <josh.bialkowski@gmail.com>2019-12-16 09:09:42 -0800
committerJosh Bialkowski <josh.bialkowski@gmail.com>2019-12-18 07:42:16 -0800
commit3384d1b26bea41224c260b1912c51e0564571422 (patch)
treeed4fa71cf94fbd112556b43cff0818ae3057415b /bridge/core/bridge.go
parent4e64c834e2cd672f3daff59fe8117873688dfebc (diff)
downloadgit-bug-3384d1b26bea41224c260b1912c51e0564571422.tar.gz
codereview #6: don't fail one warning
* presence of an error in the import event doesn't indicate failure
Diffstat (limited to 'bridge/core/bridge.go')
-rw-r--r--bridge/core/bridge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go
index c6731ff9..95c0c2c4 100644
--- a/bridge/core/bridge.go
+++ b/bridge/core/bridge.go
@@ -330,7 +330,7 @@ func (b *Bridge) ImportAllSince(ctx context.Context, since time.Time) (<-chan Im
// relay all events while checking that everything went well
for event := range events {
- if event.Err != nil {
+ if event.Event == ImportEventError {
noError = false
}
out <- event