File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ package daemon
1717
1818import (
1919 "errors"
20- "fmt"
2120 "io"
2221 "sync/atomic"
2322
@@ -41,7 +40,7 @@ func (s *MonitorService) StreamingOpen(stream rpc.Monitor_StreamingOpenServer) e
4140 // ensure it's a config message and not data
4241 config := msg .GetMonitorConfig ()
4342 if config == nil {
44- return fmt . Errorf ("first message must contain monitor configuration, not data" )
43+ return errors . New ("first message must contain monitor configuration, not data" )
4544 }
4645
4746 // select which type of monitor we need
@@ -173,7 +172,6 @@ func (s *MonitorService) StreamingOpen(stream rpc.Monitor_StreamingOpenServer) e
173172 // Rate limit, filling all the available window
174173 if rateLimitEnabled {
175174 slots = atomic .AddInt32 (& writeSlots , - 1 )
176- //fmt.Println("FREE SLOTS:", slots)
177175 }
178176 }
179177 }
You can’t perform that action at this time.
0 commit comments