Skip to content

Commit

Permalink
Merge pull request #95 from heschlie/backport-health
Browse files Browse the repository at this point in the history
Bumping libcalico and fixing health calls
  • Loading branch information
caseydavenport authored Dec 15, 2017
2 parents cb5f10d + 9d523c5 commit 43a9a0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 4 additions & 4 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pkg/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,7 @@ func (t *TyphaDaemon) Start(cxt context.Context) {
go servePrometheusMetrics(t.ConfigParams)
}

if t.ConfigParams.HealthEnabled {
log.WithField("port", t.ConfigParams.HealthPort).Info("Health enabled. Starting server.")
go t.healthAggregator.ServeHTTP(t.ConfigParams.HealthPort)
}
go t.healthAggregator.ServeHTTP(t.ConfigParams.HealthEnabled, t.ConfigParams.HealthPort)
}

// WaitAndShutDown waits for OS signals or context.Done() and exits as appropriate.
Expand Down

0 comments on commit 43a9a0d

Please sign in to comment.