Remove config version field

This commit is contained in:
Elara 2021-10-27 08:34:10 -07:00
parent f1b7f70313
commit fbb7cd9bc1
2 changed files with 0 additions and 8 deletions

View File

@ -1,7 +1,3 @@
# This is temporary, it is to show a notice
# to people still using the old config
cfg.version = 2
[socket]
path = "/tmp/itd/socket"

View File

@ -29,10 +29,6 @@ import (
var firmwareUpdating = false
func main() {
if viper.GetInt("cfg.version") != 2 {
log.Fatal().Msg("Please update your config to the newest format, only v2 configs supported.")
}
// Cleanly exit after function
defer infinitime.Exit()