diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2017-11-19 18:03:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-19 18:03:07 -0700 |
commit | 9da31745363232bc1e27dbab3569e77383a51585 (patch) | |
tree | 62a770319af3f775c28f2434339a2ab2593bf473 | |
parent | README (diff) | |
parent | Remove unnecessary if in batch handling (diff) | |
download | dedo-9da31745363232bc1e27dbab3569e77383a51585.tar.gz dedo-9da31745363232bc1e27dbab3569e77383a51585.tar.xz |
Merge pull request #736 from tv42/silly-if
Remove unnecessary if in batch handling
-rw-r--r-- | db.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -737,9 +737,7 @@ retry: // pass success, or bolt internal errors, to all callers for _, c := range b.calls { - if c.err != nil { - c.err <- err - } + c.err <- err } break retry } |