Merge pull request #1113 from StefanScherer/fix-docker-api-version-for-windows

Fix Docker API version for Windows
This commit is contained in:
Emile Vauge 2017-02-04 17:26:05 +01:00 committed by GitHub
commit da5eba17d8
3 changed files with 14 additions and 2 deletions

View file

@ -31,8 +31,6 @@ import (
)
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 string = "1.24"
// SwarmDefaultWatchTime is the duration of the interval when polling docker

8
provider/docker_unix.go Normal file
View 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"
)

View 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"
)