Change healthchecker to return error

This commit is contained in:
2021-11-06 00:41:27 +01:00
parent 8ba601a2b1
commit db8372f6db
5 changed files with 18 additions and 9 deletions

View File

@@ -109,6 +109,6 @@ func (s *CachingStore) Query(query AttemptQuery) ([]models.LoginAttempt, error)
return attempts, err
}
func (s *CachingStore) IsHealthy() bool {
func (s *CachingStore) IsHealthy() error {
return s.backend.IsHealthy()
}