cosmetic: remove dead code
This commit is contained in:
1 parent
9833747fd9
commit
c2972b7558
1 file changed
-3
@@ -188,9 +188,6 @@ func (cm *ConnectionMaker) checkStateAndAttemptConnections() time.Duration {
|
|||||||
return cm.connectToTargets(validTarget, cmdLineTarget)
|
return cm.connectToTargets(validTarget, cmdLineTarget)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cm *ConnectionMaker) addTarget(address string) {
|
|
||||||
}
|
|
||||||
|
|
||||||
func (cm *ConnectionMaker) connectToTargets(validTarget map[string]struct{}, cmdLineTarget map[string]struct{}) time.Duration {
|
func (cm *ConnectionMaker) connectToTargets(validTarget map[string]struct{}, cmdLineTarget map[string]struct{}) time.Duration {
|
||||||
now := time.Now() // make sure we catch items just added
|
now := time.Now() // make sure we catch items just added
|
||||||
after := MaxDuration
|
after := MaxDuration
|
||||||
|
|||||||
Reference in new issue
Block a user