summaryrefslogtreecommitdiff
path: root/system/db/config.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-13 11:58:39 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-13 11:58:39 -0800
commit59ee9fbb237673c2d0cccad42f7adbae65852b8d (patch)
tree3326e7c43eef2483fff5e24b7e2f840fb94b4d38 /system/db/config.go
parent3249b82b2a4f1aa0ae9e6943cd72dd7eebae8a4a (diff)
changing ConfigCache to return interface{}
Diffstat (limited to 'system/db/config.go')
-rw-r--r--system/db/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/config.go b/system/db/config.go
index 45b3952..f1d1215 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -166,6 +166,6 @@ func PutConfig(key string, value interface{}) error {
// ConfigCache is a in-memory cache of the Configs for quicker lookups
// 'key' is the JSON tag associated with the config field
-func ConfigCache(key string) string {
+func ConfigCache(key string) interface{} {
return configCache.Get(key)
}