From daf3023b02a7420a9229c43e9d8a4033c0a5ab67 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Mon, 18 Dec 2017 09:22:03 +0100 Subject: [PATCH] Change Zookeeper default prefix. --- cmd/traefik/configuration.go | 2 +- docs/configuration/backends/zookeeper.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/traefik/configuration.go b/cmd/traefik/configuration.go index 692a956c4..dec67e328 100644 --- a/cmd/traefik/configuration.go +++ b/cmd/traefik/configuration.go @@ -112,7 +112,7 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration { var defaultZookeeper zk.Provider defaultZookeeper.Watch = true defaultZookeeper.Endpoint = "127.0.0.1:2181" - defaultZookeeper.Prefix = "/traefik" + defaultZookeeper.Prefix = "traefik" defaultZookeeper.Constraints = types.Constraints{} //default Boltdb diff --git a/docs/configuration/backends/zookeeper.md b/docs/configuration/backends/zookeeper.md index 55b6cb88a..5d31ae3bc 100644 --- a/docs/configuration/backends/zookeeper.md +++ b/docs/configuration/backends/zookeeper.md @@ -27,9 +27,9 @@ watch = true # Prefix used for KV store. # # Optional -# Default: "/traefik" +# Default: "traefik" # -prefix = "/traefik" +prefix = "traefik" # Override default configuration template. # For advanced users :)