evt start code
This commit is contained in:
parent
67512125f7
commit
baa96a3158
6
agent.go
6
agent.go
|
@ -32,9 +32,9 @@ func (agt *Agent) startAgent() {
|
||||||
//2. evt start()
|
//2. evt start()
|
||||||
evtStartChn := make(chan bool, 0)
|
evtStartChn := make(chan bool, 0)
|
||||||
err := evt.Start(evtStartChn)
|
err := evt.Start(evtStartChn)
|
||||||
if err != nil {
|
//if err != nil {
|
||||||
processError(err)
|
// processError(err)
|
||||||
}
|
//}
|
||||||
<- evtStartChn
|
<- evtStartChn
|
||||||
//3. dat start()
|
//3. dat start()
|
||||||
datStarted := make(chan bool)
|
datStarted := make(chan bool)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user