Remove the sleep.

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
This commit is contained in:
Rob Dobson 2014-11-18 18:47:08 +00:00
parent bc3d792341
commit b61adffc01

View File

@ -6,7 +6,6 @@ import (
"log"
"net"
"fmt"
"time"
)
type stepForwardPortOverSSH struct {
@ -68,11 +67,6 @@ func (self *stepForwardPortOverSSH) Run(state multistep.StateBag) multistep.Step
// Provide the local port to future steps.
state.Put(self.ResultKey, sshHostPort)
// Need to wait before connecting
// @todo: figure out why and check for the correct conditions.
ui.Message("Sleeping 30...")
time.Sleep(30 * time.Second)
return multistep.ActionContinue
}