Skip to content

Commit

Permalink
fix(store): fix the typo (#20011)
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay authored Apr 11, 2024
1 parent 07eb7b4 commit 868f948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/snapshots/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const (
snapshotMaxItemSize = int(64e6) // SDK has no key/value size limit, so we set an arbitrary limit
)

var ErrOptsZeroSnapshotInterval = errors.New("snaphot-interval must not be 0")
var ErrOptsZeroSnapshotInterval = errors.New("snapshot-interval must not be 0")

// NewManager creates a new manager.
func NewManager(store *Store, opts SnapshotOptions, commitSnapshotter CommitSnapshotter, storageSnapshotter StorageSnapshotter, extensions map[string]ExtensionSnapshotter, logger log.Logger) *Manager {
Expand Down

0 comments on commit 868f948

Please sign in to comment.