From 7a59d0929cd558ef08e8634a90a7cbd2bbe42838 Mon Sep 17 00:00:00 2001 From: guangwu Date: Tue, 3 Oct 2023 07:23:45 +0800 Subject: [PATCH] chore: remove unnecessary use of fmt.Sprintf (#174) --- server/console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/console.go b/server/console.go index 399c4a5..0cd2ff6 100644 --- a/server/console.go +++ b/server/console.go @@ -37,7 +37,7 @@ func (s *Server) Throttler() *ConsoleThrottle { s.throttler = newConsoleThrottle(throttles.Lines, period) s.throttler.strike = func() { - s.PublishConsoleOutputFromDaemon(fmt.Sprintf("Server is outputting console data too quickly -- throttling...")) + s.PublishConsoleOutputFromDaemon("Server is outputting console data too quickly -- throttling...") } }) return s.throttler