Skip to content

Commit

Permalink
Fix sending status to health check channel (#1598)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
  • Loading branch information
jan25 authored and yurishkuro committed Jun 12, 2019
1 parent faa9178 commit 74ff96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flags/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (s *Service) AddFlags(flagSet *flag.FlagSet) {

// SetHealthCheckStatus sets status of healthcheck
func (s *Service) SetHealthCheckStatus(status healthcheck.Status) {
s.hcStatusChannel <- healthcheck.Unavailable
s.hcStatusChannel <- status
}

// Start bootstraps the service and starts the admin server.
Expand Down

0 comments on commit 74ff96f

Please sign in to comment.