fix: Use log.Info rather than fmt.Println

This commit is contained in:
Anthony Laibe 2021-11-22 13:44:58 +01:00
parent 2afffd9dd9
commit 74c0f648f2
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ func Execute(options Options) {
ch := make(chan os.Signal, 1) ch := make(chan os.Signal, 1)
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM) signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
<-ch <-ch
fmt.Println("\n\n\nReceived signal, shutting down...") log.Info("Received signal, shutting down...")
// shut the node down // shut the node down
wakuNode.Stop() wakuNode.Stop()