File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ type DockerContainer struct {
6464 Cmd []string
6565 ContainerId string
6666 ContainerName string
67- ContainerJSON dockertypes. ContainerJSON
67+ ContainerJSON container. InspectResponse
6868 containerInspected bool
6969 keepForDebugging bool
7070}
@@ -269,7 +269,7 @@ func (d *DockerContainer) PortFor(cPort int) uint {
269269 return port
270270}
271271
272- func (d * DockerContainer ) NetworkSettings () dockertypes .NetworkSettings {
272+ func (d * DockerContainer ) NetworkSettings () dockercontainer .NetworkSettings {
273273 if d == nil {
274274 panic ("Cannot get network settings for a nil *DockerContainer" )
275275 }
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