remove boot-v1

This commit is contained in:
Mikaël Cluseau
2024-01-20 17:26:28 +01:00
parent 6bf1d1ccf2
commit 5fd3a9d925
5 changed files with 19 additions and 109 deletions

View File

@ -88,11 +88,8 @@ func runInit() {
_, err := os.Stat("/config.yaml")
if err != nil {
if os.IsNotExist(err) {
bootV1()
return
}
fatal("stat failed: ", err)
log.Error().Err(err).Msg("config not found")
fatal()
}
bootV2()