Change Zookeeper default prefix.

This commit is contained in:
Ludovic Fernandez 2017-12-18 09:22:03 +01:00 committed by Traefiker
parent b17d5b80b8
commit daf3023b02
2 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
var defaultZookeeper zk.Provider var defaultZookeeper zk.Provider
defaultZookeeper.Watch = true defaultZookeeper.Watch = true
defaultZookeeper.Endpoint = "127.0.0.1:2181" defaultZookeeper.Endpoint = "127.0.0.1:2181"
defaultZookeeper.Prefix = "/traefik" defaultZookeeper.Prefix = "traefik"
defaultZookeeper.Constraints = types.Constraints{} defaultZookeeper.Constraints = types.Constraints{}
//default Boltdb //default Boltdb

View file

@ -27,9 +27,9 @@ watch = true
# Prefix used for KV store. # Prefix used for KV store.
# #
# Optional # Optional
# Default: "/traefik" # Default: "traefik"
# #
prefix = "/traefik" prefix = "traefik"
# Override default configuration template. # Override default configuration template.
# For advanced users :) # For advanced users :)