File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
1515 "strings"
1616 "testing"
1717
18+ dockertypes "github.com/docker/docker/api/types"
1819 dockercontainer "github.com/docker/docker/api/types/container"
1920 dockerimage "github.com/docker/docker/api/types/image"
2021 dockernetwork "github.com/docker/docker/api/types/network"
@@ -63,7 +64,7 @@ type DockerContainer struct {
6364 Cmd []string
6465 ContainerId string
6566 ContainerName string
66- ContainerJSON dockercontainer. InspectResponse
67+ ContainerJSON dockertypes. ContainerJSON
6768 containerInspected bool
6869 keepForDebugging bool
6970}
@@ -268,7 +269,7 @@ func (d *DockerContainer) PortFor(cPort int) uint {
268269 return port
269270}
270271
271- func (d * DockerContainer ) NetworkSettings () dockercontainer .NetworkSettings {
272+ func (d * DockerContainer ) NetworkSettings () dockertypes .NetworkSettings {
272273 if d == nil {
273274 panic ("Cannot get network settings for a nil *DockerContainer" )
274275 }
Original file line number Diff line number Diff line change 77 "testing"
88 "time"
99
10- "github.com/docker/docker/api/types/container "
10+ dockertypes "github.com/docker/docker/api/types"
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 () container .NetworkSettings
101+ NetworkSettings () dockertypes .NetworkSettings
102102 KeepForDebugging ()
103103}
You can’t perform that action at this time.
0 commit comments