add Debug StructTag
Signed-off-by: Martin <martin.piegay@zenika.com>
This commit is contained in:
parent
7f6b2b80f8
commit
cc2735f733
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ type TraefikConfiguration struct {
|
||||||
// It's populated from the traefik configuration file passed as an argument to the binary.
|
// It's populated from the traefik configuration file passed as an argument to the binary.
|
||||||
type GlobalConfiguration struct {
|
type GlobalConfiguration struct {
|
||||||
GraceTimeOut int64 `short:"g" description:"Configuration file to use (TOML)."`
|
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"`
|
AccessLogsFile string `description:"Access logs file"`
|
||||||
TraefikLogsFile string `description:"Traefik logs file"`
|
TraefikLogsFile string `description:"Traefik logs file"`
|
||||||
LogLevel string `short:"l" description:"Log level"`
|
LogLevel string `short:"l" description:"Log level"`
|
||||||
|
|
|
@ -1205,7 +1205,7 @@ func TestHostlessIngress(t *testing.T) {
|
||||||
services: services,
|
services: services,
|
||||||
watchChan: watchChan,
|
watchChan: watchChan,
|
||||||
}
|
}
|
||||||
provider := Kubernetes{disablePassHostHeaders: true}
|
provider := Kubernetes{DisablePassHostHeaders: true}
|
||||||
actual, err := provider.loadIngresses(client)
|
actual, err := provider.loadIngresses(client)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("error %+v", err)
|
t.Fatalf("error %+v", err)
|
||||||
|
|
Loading…
Reference in a new issue