Skip to content

Commit

Permalink
fix: commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Oct 27, 2023
1 parent 0fee48b commit b6bcac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storer/cachestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (db *DB) cacheWorker(ctx context.Context) {

dur := captureDuration(time.Now())
err := db.Execute(ctx, func(s internal.Storage) error {
return db.cacheObj.RemoveOldest(ctx, s, s.ChunkStore(), uint64(evict))
return db.cacheObj.RemoveOldest(ctx, s, s.ChunkStore(), evict)
})
db.metrics.MethodCallsDuration.WithLabelValues("cachestore", "RemoveOldest").Observe(dur())
if err != nil {
Expand Down

0 comments on commit b6bcac2

Please sign in to comment.