File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
1515 "strings"
1616 "testing"
1717
18- dockertypes "github.com/docker/docker/api/types"
1918 dockercontainer "github.com/docker/docker/api/types/container"
2019 dockerimage "github.com/docker/docker/api/types/image"
2120 dockernetwork "github.com/docker/docker/api/types/network"
@@ -64,7 +63,7 @@ type DockerContainer struct {
6463 Cmd []string
6564 ContainerId string
6665 ContainerName string
67- ContainerJSON dockertypes. ContainerJSON
66+ ContainerJSON dockercontainer. InspectResponse
6867 containerInspected bool
6968 keepForDebugging bool
7069}
@@ -269,7 +268,7 @@ func (d *DockerContainer) PortFor(cPort int) uint {
269268 return port
270269}
271270
272- func (d * DockerContainer ) NetworkSettings () dockertypes .NetworkSettings {
271+ func (d * DockerContainer ) NetworkSettings () dockercontainer .NetworkSettings {
273272 if d == nil {
274273 panic ("Cannot get network settings for a nil *DockerContainer" )
275274 }
Original file line number Diff line number Diff line change 77 "testing"
88 "time"
99
10- dockertypes "github.com/docker/docker/api/types"
10+ dockercontainer "github.com/docker/docker/api/types/container "
1111)
1212
1313type IsReadyFunc func (Instance ) bool
@@ -98,6 +98,6 @@ type Instance interface {
9898 Host () string
9999 Port () uint
100100 PortFor (int ) uint
101- NetworkSettings () dockertypes .NetworkSettings
101+ NetworkSettings () dockercontainer .NetworkSettings
102102 KeepForDebugging ()
103103}
You can’t perform that action at this time.
0 commit comments