Skip to content

Commit

Permalink
refactor: specify callsite
Browse files Browse the repository at this point in the history
  • Loading branch information
lfz941 committed Sep 25, 2024
1 parent d42d5c0 commit 09b74dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ func (rs *Store) flushMetadata(db corestore.KVStoreWithBatch, version int64, cIn
batch := db.NewBatch()
defer func() {
if err := batch.Close(); err != nil {
rs.logger.Error("error on batch close", "err", err)
rs.logger.Error("call flushMetadata error on batch close", "err", err)
}
}()

Expand Down

0 comments on commit 09b74dd

Please sign in to comment.