internal: remove duplicate log messages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-24 22:25:35 +01:00
parent b32800ea71
commit 650e2cbc38

View file

@ -151,17 +151,14 @@ func (ps *ProxyServer) Start() error {
wg.Add(3) wg.Add(3)
go func() { go func() {
defer wg.Done() defer wg.Done()
ps.log.Debug("Starting HTTP Server...")
ps.ServeHTTP() ps.ServeHTTP()
}() }()
go func() { go func() {
defer wg.Done() defer wg.Done()
ps.log.Debug("Starting HTTPs Server...")
ps.ServeHTTPS() ps.ServeHTTPS()
}() }()
go func() { go func() {
defer wg.Done() defer wg.Done()
ps.log.Debug("Starting Metrics Server...")
metrics.RunServer() metrics.RunServer()
}() }()
return nil return nil