summaryrefslogtreecommitdiffstatshomepage
path: root/bridge/core/bridge.go
diff options
context:
space:
mode:
authorJosh Bialkowski <josh.bialkowski@gmail.com>2019-12-16 09:09:42 -0800
committerMichael Muré <batolettre@gmail.com>2020-01-04 13:04:21 +0100
commita785bcdad6296b3babeb62ef3e91d66450730244 (patch)
tree635270c06b8fcba9780f0399dfbd6daa7a9f7c13 /bridge/core/bridge.go
parentf15206e7b1d60239f4e42c618297554bda524b5e (diff)
downloadgit-bug-a785bcdad6296b3babeb62ef3e91d66450730244.tar.gz
git-bug-a785bcdad6296b3babeb62ef3e91d66450730244.zip
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 1d0a4681..f606d2da 100644
--- a/bridge/core/bridge.go
+++ b/bridge/core/bridge.go
@@ -347,7 +347,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