Archived
InSync is the opposite of RequiresRestart...
This commit is contained in:
1 parent
eebdaa2f27
commit
30aabf1da9
1 file changed
+1
-1
@@ -346,7 +346,7 @@ func restPostConfig(m *model.Model, w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// Activate and save
|
||||
|
||||
configInSync = config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
||||
configInSync = !config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
||||
cfg.Replace(newCfg)
|
||||
cfg.Save()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user