Browse Source

go fmt

Signed-off-by: Robert Breker <robert.breker@citrix.com>
getsshkeypath_pr
Robert Breker 9 years ago
parent
commit
2f027793b8
  1. 8
      xenserver.go

8
xenserver.go

@ -16,10 +16,10 @@ import (
"github.com/docker/machine/libmachine/drivers" "github.com/docker/machine/libmachine/drivers"
"github.com/docker/machine/libmachine/log" "github.com/docker/machine/libmachine/log"
"github.com/docker/machine/libmachine/mcnflag"
"github.com/docker/machine/libmachine/mcnutils"
"github.com/docker/machine/libmachine/ssh" "github.com/docker/machine/libmachine/ssh"
"github.com/docker/machine/libmachine/state" "github.com/docker/machine/libmachine/state"
"github.com/docker/machine/libmachine/mcnutils"
"github.com/docker/machine/libmachine/mcnflag"
"github.com/nilshell/xmlrpc" "github.com/nilshell/xmlrpc"
"golang.org/x/net/context" "golang.org/x/net/context"
@ -36,7 +36,7 @@ const (
) )
type Driver struct { type Driver struct {
*drivers.BaseDriver *drivers.BaseDriver
Server string Server string
Username string Username string
@ -587,7 +587,7 @@ func (d *Driver) wait(timeout time.Duration) (err error) {
addr := fmt.Sprintf("%s:%d", ip, port) addr := fmt.Sprintf("%s:%d", ip, port)
log.Infof("Got VM address(%v), Now (not) waiting for SSH", addr) log.Infof("Got VM address(%v), Now (not) waiting for SSH", addr)
// out <- ssh.WaitForTCP(addr) // out <- ssh.WaitForTCP(addr)
}(ctx, out) }(ctx, out)
select { select {

Loading…
Cancel
Save