Merge pull request #1113 from StefanScherer/fix-docker-api-version-for-windows
Fix Docker API version for Windows
This commit is contained in:
commit
da5eba17d8
3 changed files with 14 additions and 2 deletions
|
@ -31,8 +31,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// DockerAPIVersion is a constant holding the version of the Docker API traefik will use
|
|
||||||
DockerAPIVersion string = "1.21"
|
|
||||||
// SwarmAPIVersion is a constant holding the version of the Docker API traefik will use
|
// SwarmAPIVersion is a constant holding the version of the Docker API traefik will use
|
||||||
SwarmAPIVersion string = "1.24"
|
SwarmAPIVersion string = "1.24"
|
||||||
// SwarmDefaultWatchTime is the duration of the interval when polling docker
|
// SwarmDefaultWatchTime is the duration of the interval when polling docker
|
||||||
|
|
8
provider/docker_unix.go
Normal file
8
provider/docker_unix.go
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
// +build !windows
|
||||||
|
|
||||||
|
package provider
|
||||||
|
|
||||||
|
const (
|
||||||
|
// DockerAPIVersion is a constant holding the version of the Docker API traefik will use
|
||||||
|
DockerAPIVersion string = "1.21"
|
||||||
|
)
|
6
provider/docker_windows.go
Normal file
6
provider/docker_windows.go
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
package provider
|
||||||
|
|
||||||
|
const (
|
||||||
|
// DockerAPIVersion is a constant holding the version of the Docker API traefik will use
|
||||||
|
DockerAPIVersion string = "1.24"
|
||||||
|
)
|
Loading…
Reference in a new issue