fix comment.
This commit is contained in:
parent
af7236f7e7
commit
360194b29b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user