fix comment.
This commit is contained in:
parent
d79ff24014
commit
659ceaabdd
@ -109,7 +109,7 @@ func (bs *BufferedBS) DeleteBlock(c cid.Cid) error {
|
|||||||
|
|
||||||
func (bs *BufferedBS) View(c cid.Cid, callback func([]byte) error) error {
|
func (bs *BufferedBS) View(c cid.Cid, callback func([]byte) error) error {
|
||||||
if bs.writeviewer == nil || bs.readviewer == nil {
|
if bs.writeviewer == nil || bs.readviewer == nil {
|
||||||
// one of the stores doesn't Viewer; fall back to pure Get behaviour.
|
// one of the stores isn't Viewer; fall back to pure Get behaviour.
|
||||||
blk, err := bs.Get(c)
|
blk, err := bs.Get(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user