Skip to content

Commit

Permalink
chore: moved back to placeholder logs in main
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Feb 2, 2024
1 parent 096928c commit 04d1955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {

certs, err := tls.LoadX509KeyPair(tlscert, tlskey)
if err != nil {
log.Error("failed to load key pair", "error", err)
log.Errorf("failed to load key pair: %v", err)
}

server := &http.Server{
Expand Down Expand Up @@ -85,12 +85,12 @@ func main() {

go func() {
if err := server.ListenAndServeTLS("", ""); err != nil {
log.Error("Failed to listen and serve webhook server", "error", err)
log.Errorf("Failed to listen and serve webhook server: %v", err)
}
}()
go func() {
if err := mserver.ListenAndServe(); err != nil {
log.Error("Failed to listen and serve monitor server %v", "error", err)
log.Errorf("Failed to listen and serve monitor server: %v", err)
}
}()

Expand Down

0 comments on commit 04d1955

Please sign in to comment.