diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-29 23:12:56 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-29 23:12:56 -0800 |
commit | b0b8b70f6114f474dc4d0ae723fda487bad94c96 (patch) | |
tree | cbde62d46c4c88fbd90fb13452a9a5fb8cc73161 /system/db/config.go | |
parent | 6baa1e14af020ace85d632ef44fa8725bc57250c (diff) |
testing check for cache invalidation to after values are decoded
Diffstat (limited to 'system/db/config.go')
-rw-r--r-- | system/db/config.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/db/config.go b/system/db/config.go index e3dff50..92c732e 100644 --- a/system/db/config.go +++ b/system/db/config.go @@ -57,9 +57,7 @@ func SetConfig(data url.Values) error { } // check for "invalidate" value to reset the Etag - fmt.Println(len(cfg.CacheInvalidate)) - if len(cfg.CacheInvalidate) > 0 && cfg.CacheInvalidate[0] == "invalidate" { - fmt.Println(cfg.CacheInvalidate) + if cfg.CacheInvalidate[0] == "invalidate" { cfg.Etag = NewEtag() cfg.CacheInvalidate = []string{} } |