Skip to content

Commit 868f948

Browse files
authored
fix(store): fix the typo (#20011)
1 parent 07eb7b4 commit 868f948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/snapshots/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const (
7373
snapshotMaxItemSize = int(64e6) // SDK has no key/value size limit, so we set an arbitrary limit
7474
)
7575

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

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

0 commit comments

Comments
 (0)