File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ package daemon
17
17
18
18
import (
19
19
"errors"
20
- "fmt"
21
20
"io"
22
21
"sync/atomic"
23
22
@@ -41,7 +40,7 @@ func (s *MonitorService) StreamingOpen(stream rpc.Monitor_StreamingOpenServer) e
41
40
// ensure it's a config message and not data
42
41
config := msg .GetMonitorConfig ()
43
42
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" )
45
44
}
46
45
47
46
// select which type of monitor we need
@@ -173,7 +172,6 @@ func (s *MonitorService) StreamingOpen(stream rpc.Monitor_StreamingOpenServer) e
173
172
// Rate limit, filling all the available window
174
173
if rateLimitEnabled {
175
174
slots = atomic .AddInt32 (& writeSlots , - 1 )
176
- //fmt.Println("FREE SLOTS:", slots)
177
175
}
178
176
}
179
177
}
You can’t perform that action at this time.
0 commit comments