Sync server state with Panel before performing installation to ensure information is up to date

This commit is contained in:
Dane Everitt
2020-06-30 20:56:55 -07:00
parent 79a582a5f2
commit ea2630946a
3 changed files with 14 additions and 4 deletions

View File

@@ -135,7 +135,7 @@ func postServerInstall(c *gin.Context) {
s := GetServer(c.Param("server"))
go func(serv *server.Server) {
if err := serv.Install(); err != nil {
if err := serv.Install(true); err != nil {
serv.Log().WithField("error", err).Error("failed to execute server installation process")
}
}(s)