Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Jun 13, 2024
1 parent 6f0b805 commit 72107de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion storage/kv/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ROBucket interface {
// Has checks that key can be found.
Has(ctx context.Context, key string) (found bool, err error)

// Get retreives value at key.
// Get retrieves value at key.
// If key is not found then ErrKeyNotFound should be
// returned in the error chain.
Get(ctx context.Context, key string) (value []byte, err error)
Expand Down
2 changes: 1 addition & 1 deletion storage/kv/kvdiskv/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/micromdm/nanolib/storage/kv"
)

// Get retreives the value at key in the diskv store.
// Get retrieves the value at key in the diskv store.
// If key is not found then a wrapped ErrKeyNotFound will be returned.
func (b *KVDiskv) Get(_ context.Context, key string) ([]byte, error) {
r, err := b.diskv.Read(key)
Expand Down
2 changes: 1 addition & 1 deletion storage/kv/kvmap/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/micromdm/nanolib/storage/kv"
)

// Get retreives the value at key in the Go map.
// Get retrieves the value at key in the Go map.
// If key is not found then a wrapped ErrKeyNotFound will be returned.
func (s *KVMap) Get(_ context.Context, key string) ([]byte, error) {
s.mu.RLock()
Expand Down
2 changes: 1 addition & 1 deletion storage/kv/kvprefix/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
)

// Get retreives the value at key in the underlying store.
// Get retrieves the value at key in the underlying store.
// The key is preprended with the prefix.
func (b *KVPrefix) Get(ctx context.Context, key string) ([]byte, error) {
return b.store.Get(ctx, b.prefix+key)
Expand Down

0 comments on commit 72107de

Please sign in to comment.