Change healthchecker to return error
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user