Fix linter error

This commit is contained in:
Daniel 2020-09-24 08:57:42 +02:00
parent dae5481203
commit c4e24102f6

View file

@ -130,7 +130,7 @@ func inputSignals(signalCh chan os.Signal) {
}
func printStackTo(writer io.Writer, msg string) {
_, err := fmt.Fprintln(writer, fmt.Sprintf("===== %s =====", msg))
_, err := fmt.Fprintf(writer, "===== %s =====\n", msg)
if err == nil {
err = pprof.Lookup("goroutine").WriteTo(writer, 1)
}