1
0
Fork 0

Fix panic on help, Better version

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-06-02 15:17:04 +02:00
parent 423268f485
commit 3f08bb4cdf
No known key found for this signature in database
GPG key ID: D808B4C167352E59
8 changed files with 133 additions and 68 deletions

View file

@ -22,9 +22,9 @@ type Provider interface {
// BaseProvider should be inherited by providers
type BaseProvider struct {
Watch bool `description:"Watch provider"`
Filename string `description:"Override default configuration template. For advanced users :)"`
Constraints []types.Constraint `description:"Filter services by constraint, matching with Traefik tags."`
Watch bool `description:"Watch provider"`
Filename string `description:"Override default configuration template. For advanced users :)"`
Constraints types.Constraints `description:"Filter services by constraint, matching with Traefik tags."`
}
// MatchConstraints must match with EVERY single contraint