fix(mirror): read config correctly (#8330)

# Which Problems Are Solved

The mirror command read the configurations in the wrong order

# How the Problems Are Solved

The Pre execution run of `mirror` reads the default config first and
then applies the custom configs
This commit is contained in:
Silvan
2024-07-18 16:00:58 +02:00
committed by GitHub
parent b3a60863f5
commit 0ea3c5691f
2 changed files with 8 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ func New(out io.Writer, in io.Reader, args []string, server chan<- *start.Server
start.New(server),
start.NewStartFromInit(server),
start.NewStartFromSetup(server),
mirror.New(),
mirror.New(&configFiles),
key.New(),
ready.New(),
)