Used println instead of printf if no args.
This commit is contained in:
parent
49b58fd2f9
commit
b06bdeba59
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
log.Printf("Received SIGINT...stopping")
|
||||
log.Println("Received SIGINT...stopping")
|
||||
close(done)
|
||||
}()
|
||||
|
||||
|
@ -245,7 +245,7 @@ func main() {
|
|||
|
||||
}()
|
||||
|
||||
log.Printf("Starting...")
|
||||
log.Println("Starting...")
|
||||
if status, err := driver.Run(); err != nil {
|
||||
log.Printf("Framework stopped with status %s and error: %s\n", status.String(), err.Error())
|
||||
}
|
||||
|
|
Reference in a new issue