chore: remove unnecessary use of fmt.Sprintf (#174)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user