From 3a4ec19817feec3b1321bd9d7351bd876daf2385 Mon Sep 17 00:00:00 2001 From: Emile Vauge Date: Thu, 11 May 2017 19:07:45 +0200 Subject: [PATCH] Add missing description tag Signed-off-by: Emile Vauge --- provider/eureka/eureka.go | 4 ++-- provider/marathon/marathon.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/provider/eureka/eureka.go b/provider/eureka/eureka.go index b724f6025..a848280b2 100644 --- a/provider/eureka/eureka.go +++ b/provider/eureka/eureka.go @@ -19,8 +19,8 @@ import ( // Provider holds configuration of the Provider provider. type Provider struct { provider.BaseProvider `mapstructure:",squash"` - Endpoint string - Delay string + Endpoint string `description:"Eureka server endpoint"` + Delay string `description:"Override default configuration time between refresh"` } // Provide allows the eureka provider to provide configurations to traefik diff --git a/provider/marathon/marathon.go b/provider/marathon/marathon.go index 217b986dc..de1d5bbdf 100644 --- a/provider/marathon/marathon.go +++ b/provider/marathon/marathon.go @@ -45,14 +45,14 @@ type Provider struct { DialerTimeout flaeg.Duration `description:"Set a non-default connection timeout for Marathon"` KeepAlive flaeg.Duration `description:"Set a non-default TCP Keep Alive time in seconds"` ForceTaskHostname bool `description:"Force to use the task's hostname."` - Basic *Basic + Basic *Basic `description:"Enable basic authentication"` marathonClient marathon.Marathon } // Basic holds basic authentication specific configurations type Basic struct { - HTTPBasicAuthUser string - HTTPBasicPassword string + HTTPBasicAuthUser string `description:"Basic authentication User"` + HTTPBasicPassword string `description:"Basic authentication Password"` } type lightMarathonClient interface {