Skip to content
Snippets Groups Projects
Commit a0914a38 authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

tcpConnector does not return error any more, was not checked any way

parent 5ab95fab
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ func (fsm *FSM) cease() {
fsm.eventCh <- Cease
}
func (fsm *FSM) tcpConnector(ctx context.Context) error {
func (fsm *FSM) tcpConnector(ctx context.Context) {
for {
select {
case <-fsm.initiateCon:
......@@ -207,7 +207,7 @@ func (fsm *FSM) tcpConnector(ctx context.Context) error {
c.Close()
continue
case <-ctx.Done():
return nil
return
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment