This commit is contained in:
crusader 2018-04-13 15:48:03 +09:00
parent 0588a0ffb5
commit 490aaae260
2 changed files with 0 additions and 7 deletions

View File

@ -42,10 +42,6 @@ func (c *Connectors) Connect() (readChan <-chan []byte, writeChan chan<- []byte,
return nil, nil, fmt.Errorf("%s already connected", c.logHeader())
}
if err := c.Validate(); nil != err {
return nil, nil, err
}
conn, err = c.connect()
if nil != err {
return nil, nil, err

View File

@ -73,9 +73,6 @@ func (c *Connectors) Connect() (readChan <-chan []byte, writeChan chan<- []byte,
if c.stopChan != nil {
return nil, nil, fmt.Errorf("%s already connected", c.logHeader())
}
if err := c.Validate(); nil != err {
return nil, nil, err
}
conn, res, err = c.connect()
if nil != err {