Fix Docker API version for Windows

Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
This commit is contained in:
Stefan Scherer 2017-02-04 13:59:32 +01:00 committed by Vincent Demeester
parent 71a185c70e
commit 434596b103
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"
)