Skip to content

Commit

Permalink
chore: remove unnecessary use of fmt.Sprintf (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Oct 2, 2023
1 parent 9b5eaf4 commit 7a59d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a59d09

Please sign in to comment.