Skip to content

Commit 008b155

Browse files
author
HuangYi
committed
fix lint
1 parent 05dc62c commit 008b155

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

memiavl/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func (db *DB) checkBackgroundSnapshotRewrite() error {
448448
return fmt.Errorf("background snapshot rewriting failed: %w", result.err)
449449
}
450450

451-
// background snapshot rewrite don't success, but no error to propogate, ignore it.
451+
// background snapshot rewrite don't success, but no error to propagate, ignore it.
452452
return nil
453453
}
454454

memiavl/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ func testIdempotentWrite(t *testing.T, asyncCommit bool) {
547547
commitInfo := *db.LastCommitInfo()
548548
require.NoError(t, db.Close())
549549

550-
// reload db from disk at an intermidiate version
550+
// reload db from disk at an intermediate version
551551
db, err = Load(dir, Options{TargetVersion: 5})
552552
require.NoError(t, err)
553553

0 commit comments

Comments
 (0)