Update dependencies and fix some linter warnings
This commit is contained in:
@@ -77,7 +77,7 @@ func NewMetricsCollectingStore(ctx context.Context, store LoginAttemptStore) *Me
|
||||
case <-ctx.Done():
|
||||
return
|
||||
case <-mcs.statsTicker.C:
|
||||
mcs.Stats(LoginStatsTotals, 0)
|
||||
mcs.Stats(LoginStatsTotals, 0) // nolint: errcheck
|
||||
}
|
||||
}
|
||||
}()
|
||||
@@ -116,7 +116,6 @@ func (s *MetricsCollectingStore) Stats(statType LoginStats, limit int) ([]StatsR
|
||||
}
|
||||
}
|
||||
return stats, err
|
||||
|
||||
}
|
||||
|
||||
func (s *MetricsCollectingStore) Query(query AttemptQuery) ([]models.LoginAttempt, error) {
|
||||
|
Reference in New Issue
Block a user