1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00

Correct log message

This commit is contained in:
Kristoffer Dalby 2022-02-12 19:30:25 +00:00
parent 58bfea4e64
commit 4078e75b50

5
app.go
View File

@ -589,6 +589,9 @@ func (h *Headscale) Serve() error {
}
errorGroup.Go(func() error { return grpcServer.Serve(grpcListener) })
log.Info().
Msgf("listening and serving gRPC on: %s", h.cfg.GRPCAddr)
} else {
log.Info().Msg("TLS is not configured, not enabling remote gRPC")
}
@ -625,7 +628,7 @@ func (h *Headscale) Serve() error {
errorGroup.Go(func() error { return httpServer.Serve(httpListener) })
log.Info().
Msgf("listening and serving (multiplexed HTTP and gRPC) on: %s", h.cfg.Addr)
Msgf("listening and serving HTTP on: %s", h.cfg.Addr)
return errorGroup.Wait()
}