chore: remove unnecessary use of fmt.Sprintf (#174)
This commit is contained in:
		
							parent
							
								
									9b5eaf44df
								
							
						
					
					
						commit
						7a59d0929c
					
				| 
						 | 
					@ -37,7 +37,7 @@ func (s *Server) Throttler() *ConsoleThrottle {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		s.throttler = newConsoleThrottle(throttles.Lines, period)
 | 
							s.throttler = newConsoleThrottle(throttles.Lines, period)
 | 
				
			||||||
		s.throttler.strike = func() {
 | 
							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
 | 
						return s.throttler
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user