chore: remove unnecessary use of fmt.Sprintf (#174)

This commit is contained in:
guangwu
2023-10-03 07:23:45 +08:00
committed by GitHub
parent 9b5eaf44df
commit 7a59d0929c

View File

@@ -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