From 7ed011745a544873f40f806f1803cb8a4998ba01 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 26 Oct 2017 14:21:22 -0500 Subject: Remove more global refs / state (#7723) * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix --- model/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'model') diff --git a/model/config.go b/model/config.go index 9871a13b4..768009d94 100644 --- a/model/config.go +++ b/model/config.go @@ -522,6 +522,8 @@ type PluginSettings struct { PluginStates map[string]*PluginState } +type ConfigFunc func() *Config + type Config struct { ServiceSettings ServiceSettings TeamSettings TeamSettings -- cgit v1.2.3-1-g7c22