From acc991dea1f97e5eb93cbb1c861925d24114caca Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Mon, 17 Apr 2017 07:55:03 -0700 Subject: PLT-6317 disable file watcher while running from makefile (#6103) * PLT-6317 disable file watcher while running from make file * Removing debug stmt --- app/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/admin.go') diff --git a/app/admin.go b/app/admin.go index 3ff10015c..103c4617b 100644 --- a/app/admin.go +++ b/app/admin.go @@ -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) -- cgit v1.2.3-1-g7c22