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 20, 2024
1 parent f03a98a commit f9ba1b8
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 f9ba1b8

Please sign in to comment.