e365652e81
The error output being checked depends on the linux caps supported by the particular operating system. Fix these test cases to just check that an error did occur.
12 lines
213 B
Go
12 lines
213 B
Go
//+build !windows
|
|
|
|
package docker
|
|
|
|
import (
|
|
docker "github.com/fsouza/go-dockerclient"
|
|
)
|
|
|
|
func getPortBinding(ip string, port string) docker.PortBinding {
|
|
return docker.PortBinding{HostIP: ip, HostPort: port}
|
|
}
|