Skip to content

Commit

Permalink
fix: remove b=nil setting which does not do anything
Browse files Browse the repository at this point in the history
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
  • Loading branch information
szuecs committed Jan 5, 2024
1 parent c91e34e commit ed9bc61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion io/read_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ func blockMatcher(matches []toBlockKeys) func(b []byte) (int, error) {
var consumed int
for _, s := range matches {
if bytes.Contains(b, s.Str) {
b = nil
return 0, ErrBlocked
}
}
Expand Down

0 comments on commit ed9bc61

Please sign in to comment.