add Debug StructTag

Signed-off-by: Martin <martin.piegay@zenika.com>
This commit is contained in:
Martin 2016-05-26 15:55:50 +02:00
parent 7f6b2b80f8
commit cc2735f733
2 changed files with 2 additions and 2 deletions

View file

@ -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"`

View file

@ -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)