traefik / traefik-migration-tool

A migration tool from Traefik v1 to Traefik v2
https://docs.traefik.io/migration/v1-to-v2/
Apache License 2.0
151 stars 35 forks source link

Global configuration always present in new-traefik.yml/toml #16

Open vegasbrianc opened 4 years ago

vegasbrianc commented 4 years ago

In the https://github.com/containous/traefik-migration-tool/blob/master/static/configuration.go#L27 file it creates the Global configuration section in the new-traefik.yml/toml regardless if content is being imported or not.

An empty Global Configuraton entry in the yml/toml results in Traefik not being able to start.