Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Oct 6, 2021
1 parent 9a75899 commit 6f24de5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/sshdialer/ssh_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"time"

"github.com/docker/cli/cli/connhelper"

"github.com/docker/docker/pkg/homedir"
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
Expand Down Expand Up @@ -93,7 +92,8 @@ func NewDialContext(url *urlPkg.URL, config Config) (func(ctx context.Context, n

type dialer struct {
sshClient *ssh.Client
addr, network string
network string
addr string
}

func (d *dialer) DialContext(ctx context.Context, n, a string) (net.Conn, error) {
Expand Down
3 changes: 1 addition & 2 deletions internal/sshdialer/ssh_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"time"

"github.com/buildpacks/pack/internal/sshdialer"
th "github.com/buildpacks/pack/testhelpers"

"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
Expand All @@ -27,8 +28,6 @@ import (
"github.com/docker/go-connections/nat"
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"

th "github.com/buildpacks/pack/testhelpers"
)

const (
Expand Down

0 comments on commit 6f24de5

Please sign in to comment.