diff --git a/configuration.go b/configuration.go index 201a61fe8..35a7234de 100644 --- a/configuration.go +++ b/configuration.go @@ -21,7 +21,7 @@ type TraefikConfiguration struct { // It's populated from the traefik configuration file passed as an argument to the binary. type GlobalConfiguration struct { GraceTimeOut int64 `short:"g" description:"Configuration file to use (TOML)."` - Debug bool + Debug bool `short:"d" description:"Enable debug mode"` AccessLogsFile string `description:"Access logs file"` TraefikLogsFile string `description:"Traefik logs file"` LogLevel string `short:"l" description:"Log level"` diff --git a/provider/kubernetes_test.go b/provider/kubernetes_test.go index 8426b73ad..25e48b8d7 100644 --- a/provider/kubernetes_test.go +++ b/provider/kubernetes_test.go @@ -1205,7 +1205,7 @@ func TestHostlessIngress(t *testing.T) { services: services, watchChan: watchChan, } - provider := Kubernetes{disablePassHostHeaders: true} + provider := Kubernetes{DisablePassHostHeaders: true} actual, err := provider.loadIngresses(client) if err != nil { t.Fatalf("error %+v", err)