4d90afb425
mostly to handle build directives in 1.17.
13 lines
234 B
Go
13 lines
234 B
Go
//go:build !windows
|
|
// +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}
|
|
}
|