mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 08:25:43 +03:00
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}
|
|
}
|