PLT-6317 disable file watcher while running from makefile (#6103)

* PLT-6317 disable file watcher while running from make file

* Removing debug stmt
Этот коммит содержится в:
Corey Hulen
2017-04-17 07:55:03 -07:00
коммит произвёл Christopher Speller
родитель 3207886514
Коммит acc991dea1
6 изменённых файлов: 17 добавлений и 6 удалений

Просмотреть файл

@@ -136,7 +136,6 @@ func SaveConfig(cfg *model.Config) *model.AppError {
return model.NewLocAppError("saveConfig", "ent.cluster.save_config.error", nil, "")
}
//oldCfg := utils.Cfg
utils.DisableConfigWatch()
utils.SaveConfig(utils.CfgFileName, cfg)
utils.LoadConfig(utils.CfgFileName)
@@ -150,6 +149,7 @@ func SaveConfig(cfg *model.Config) *model.AppError {
}
}
// oldCfg := utils.Cfg
// Future feature is to sync the configuration files
// if einterfaces.GetClusterInterface() != nil {
// err := einterfaces.GetClusterInterface().ConfigChanged(cfg, oldCfg, true)