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
3 changed files with 14 additions and 2 deletions
-2
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
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"
)
+6
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"
)