Create the config file if it is missing for the server, then try again

This commit is contained in:
Dane Everitt
2019-12-07 16:48:26 -08:00
parent c9bff0fa31
commit 21d8384848
2 changed files with 41 additions and 27 deletions

View File

@@ -24,7 +24,7 @@ func (s *Server) UpdateConfigurationFiles() {
return
}
if err := f.Parse(p); err != nil {
if err := f.Parse(p, false); err != nil {
zap.S().Errorw("failed to parse and update server configuration file", zap.String("server", server.Uuid), zap.Error(err))
}
}(v, s)