Skip to content

Commit

Permalink
fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Nov 10, 2020
1 parent af7236f commit 360194b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bufbstore/buf_bstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (bs *BufferedBS) DeleteBlock(c cid.Cid) error {

func (bs *BufferedBS) View(c cid.Cid, callback func([]byte) error) error {
if bs.writeviewer == nil || bs.readviewer == nil {
// none of the stores supports Viewer, just fall back to pure Get behaviour.
// one of the stores doesn't Viewer; fall back to pure Get behaviour.
blk, err := bs.Get(c)
if err != nil {
return err
Expand Down

0 comments on commit 360194b

Please sign in to comment.