start file refactor.

This commit is contained in:
Miroslav Šedivý 2020-10-31 16:40:33 +01:00
parent 894c0f28dc
commit e852afcf2a
3 changed files with 58 additions and 41 deletions

View file

@ -117,10 +117,10 @@ func init() {
logger.Info().Msg("preflight complete")
}
neko.Service.Root.Set()
neko.Service.Configs.Root.Set()
})
if err := neko.Service.Root.Init(root); err != nil {
if err := neko.Service.Configs.Root.Init(root); err != nil {
log.Panic().Err(err).Msg("unable to run root command")
}