Change healthchecker to return error
This commit is contained in:
@@ -142,8 +142,8 @@ func (ms *MemoryStore) Query(query AttemptQuery) ([]models.LoginAttempt, error)
|
||||
return results, nil
|
||||
}
|
||||
|
||||
func (s *MemoryStore) IsHealthy() bool {
|
||||
return true
|
||||
func (s *MemoryStore) IsHealthy() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func toResults(m map[string]int) []StatsResult {
|
||||
|
Reference in New Issue
Block a user