diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2020-06-10 23:21:35 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-10 23:23:07 -0700 |
commit | a87c74bc548b1eebc9a118fcc192d906b9fb2e39 (patch) | |
tree | 0406b4a8b162dd819aeea7d5daa0a87bdc0164cd | |
parent | b436b9717eab8b0b5c39c931bca5f000df079836 (diff) |
Remove duplicate colon from warning log.
doAction()->log.TracebackAll() will append a colon.
PiperOrigin-RevId: 315842611
-rw-r--r-- | pkg/sentry/watchdog/watchdog.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/watchdog/watchdog.go b/pkg/sentry/watchdog/watchdog.go index e2894f9f5..748273366 100644 --- a/pkg/sentry/watchdog/watchdog.go +++ b/pkg/sentry/watchdog/watchdog.go @@ -329,7 +329,7 @@ func (w *Watchdog) report(offenders map[*kernel.Task]*offender, newTaskFound boo func (w *Watchdog) reportStuckWatchdog() { var buf bytes.Buffer - buf.WriteString("Watchdog goroutine is stuck:") + buf.WriteString("Watchdog goroutine is stuck") w.doAction(w.TaskTimeoutAction, false, &buf) } |