From 0355a321ef7049cf76628b5efe60f933b732ee2e Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Wed, 8 Nov 2023 15:02:54 -0800 Subject: [PATCH] grammar are good --- util/readrecordbs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/readrecordbs.go b/util/readrecordbs.go index 53262d0a4..8e5a077c7 100644 --- a/util/readrecordbs.go +++ b/util/readrecordbs.go @@ -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) {