mirror of
https://github.com/safing/portbase
synced 2025-09-04 11:40:23 +00:00
Fix linter error
This commit is contained in:
parent
dae5481203
commit
c4e24102f6
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func inputSignals(signalCh chan os.Signal) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func printStackTo(writer io.Writer, msg string) {
|
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 {
|
if err == nil {
|
||||||
err = pprof.Lookup("goroutine").WriteTo(writer, 1)
|
err = pprof.Lookup("goroutine").WriteTo(writer, 1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue