Skip to content

Commit

Permalink
Trying to find out why dredd is failing in Circle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandor Torok committed Mar 26, 2018
1 parent d2b9b03 commit e0e12ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (service *healthService) gtgCheck() gtg.Status {
func (service *healthService) HealthDetails(writer http.ResponseWriter, req *http.Request) {

writer.Header().Set("Content-Type", "application/json")

time.Sleep(2 * time.Second)
output, err := service.esHealthService.getClusterHealth()
if err != nil {
logger.WithError(err).Error("Error while calling cluster health")
Expand Down

0 comments on commit e0e12ad

Please sign in to comment.