mirror of
https://github.com/containous/traefik.git
synced 2025-03-30 06:50:12 +03:00
Fix Docker API version for Windows
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
This commit is contained in:
parent
71a185c70e
commit
434596b103
@ -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
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…
x
Reference in New Issue
Block a user