diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/config.go b/utils/config.go index a1a6becd1..6646a341e 100644 --- a/utils/config.go +++ b/utils/config.go @@ -186,7 +186,7 @@ func LoadConfig(fileName string) { Cfg = &config CfgHash = fmt.Sprintf("%x", md5.Sum([]byte(Cfg.ToJson()))) - RegenerateClientConfig() + ClientCfg = getClientConfig(Cfg) // Actions that need to run every time the config is loaded if ldapI := einterfaces.GetLdapInterface(); ldapI != nil { @@ -199,10 +199,6 @@ func LoadConfig(fileName string) { } } -func RegenerateClientConfig() { - ClientCfg = getClientConfig(Cfg) -} - func getClientConfig(c *model.Config) map[string]string { props := make(map[string]string) |