Used println instead of printf if no args.

This commit is contained in:
Pradyumna Kaushik 2018-10-04 13:39:30 -04:00
parent 49b58fd2f9
commit b06bdeba59

View file

@ -218,7 +218,7 @@ func main() {
return return
} }
log.Printf("Received SIGINT...stopping") log.Println("Received SIGINT...stopping")
close(done) close(done)
}() }()
@ -245,7 +245,7 @@ func main() {
}() }()
log.Printf("Starting...") log.Println("Starting...")
if status, err := driver.Run(); err != nil { if status, err := driver.Run(); err != nil {
log.Printf("Framework stopped with status %s and error: %s\n", status.String(), err.Error()) log.Printf("Framework stopped with status %s and error: %s\n", status.String(), err.Error())
} }