Skip to content

Commit

Permalink
grammar are good
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Nov 8, 2023
1 parent 8fb248d commit 0355a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/readrecordbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ func (bs *ReadRecordBstore) DeleteBlock(ctx context.Context, c cid.Cid) error {
}

func (bs *ReadRecordBstore) Put(context.Context, blockformat.Block) error {
return fmt.Errorf("writes not allows on read-record blockstore")
return fmt.Errorf("writes not allowed on read-record blockstore")
}

func (bs *ReadRecordBstore) PutMany(context.Context, []blockformat.Block) error {
return fmt.Errorf("writes not allows on read-record blockstore")
return fmt.Errorf("writes not allowed on read-record blockstore")
}

func (bs *ReadRecordBstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
Expand Down

0 comments on commit 0355a32

Please sign in to comment.