Skip to content

Commit e9f8173

Browse files
committed
fix: linting
1 parent bc58e78 commit e9f8173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (m *Manager) IncrementDailyBy(key string, n int64) {
171171

172172
if counter, ok := counterInterface.(prometheus.Counter); ok {
173173
// Try to register the counter (ignore already registered errors)
174-
m.registry.Register(counter)
174+
m.registry.Register(counter) //nolint:all
175175
counter.Add(float64(n))
176176
}
177177
}

0 commit comments

Comments
 (0)