From a87c74bc548b1eebc9a118fcc192d906b9fb2e39 Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Wed, 10 Jun 2020 23:21:35 -0700 Subject: Remove duplicate colon from warning log. doAction()->log.TracebackAll() will append a colon. PiperOrigin-RevId: 315842611 --- pkg/sentry/watchdog/watchdog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry/watchdog') 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) } -- cgit v1.2.3