chore: refine reloading code

This commit is contained in:
mzz2017
2023-03-30 23:28:45 +08:00
parent 745a47e952
commit f2dc750dbb
2 changed files with 12 additions and 16 deletions

View File

@ -193,7 +193,7 @@ loop:
}).Fatalln("[Reload] Failed to roll back configuration")
}
newConf = conf
log.Warnln("[Reload] Last reload failed; rolled back configuration")
log.Errorln("[Reload] Last reload failed; rolled back configuration")
} else {
log.Warnln("[Reload] Stopped old control plane")
}