From 868f948ec7360c5ed3c22c86e9805ba0ffdd86b7 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Thu, 11 Apr 2024 17:41:03 +0200 Subject: [PATCH] fix(store): fix the typo (#20011) --- store/snapshots/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/snapshots/manager.go b/store/snapshots/manager.go index 634f2d5b5b8..4c54ac4c6ba 100644 --- a/store/snapshots/manager.go +++ b/store/snapshots/manager.go @@ -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 {