Fix Consul catalog prefix flags

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2017-04-24 15:09:28 +02:00
parent 37e40bc776
commit af1d0a7dce
No known key found for this signature in database
GPG key ID: D808B4C167352E59
3 changed files with 11 additions and 7 deletions

View file

@ -385,6 +385,7 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
var defaultConsulCatalog consul.CatalogProvider
defaultConsulCatalog.Endpoint = "127.0.0.1:8500"
defaultConsulCatalog.Constraints = types.Constraints{}
defaultConsulCatalog.Prefix = "traefik"
// default Etcd
var defaultEtcd etcd.Provider