Fixing doc for default value of checknewversion
This commit is contained in:
parent
dd0701dd16
commit
c35a8bdb15
3 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/traefik/paerser/flag"
|
||||
"github.com/traefik/paerser/generator"
|
||||
"github.com/traefik/paerser/parser"
|
||||
"github.com/traefik/traefik/v2/pkg/config/static"
|
||||
"github.com/traefik/traefik/v2/cmd"
|
||||
"github.com/traefik/traefik/v2/pkg/log"
|
||||
)
|
||||
|
||||
|
@ -29,7 +29,7 @@ func main() {
|
|||
func genStaticConfDoc(outputFile, prefix string, encodeFn func(interface{}) ([]parser.Flat, error)) {
|
||||
logger := log.WithoutContext().WithField("file", outputFile)
|
||||
|
||||
element := &static.Configuration{}
|
||||
element := &cmd.NewTraefikConfiguration().Configuration
|
||||
|
||||
generator.Generate(element)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue