mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 06:43:23 +00:00
Consolidate listen / timeout messages
This brings of-watchdog and the classic watchdog into sync. Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -39,7 +39,7 @@ func (m *MetricsServer) Register(metricsPort int) {
|
||||
|
||||
// Serve http traffic in go routine, non-blocking
|
||||
func (m *MetricsServer) Serve(cancel chan bool) {
|
||||
log.Printf("Metrics server. Port: %d\n", m.port)
|
||||
log.Printf("Metrics listening on port: %d\n", m.port)
|
||||
|
||||
go func() {
|
||||
if err := m.s.ListenAndServe(); err != http.ErrServerClosed {
|
||||
|
Reference in New Issue
Block a user