Skip to content

Commit

Permalink
fix(store): fix the typo
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Apr 11, 2024
1 parent a0d727e commit c30237b
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 c30237b

Please sign in to comment.