chore(groupcache): Fix panic with stats collector wrapper (#6798)

* chore(groupcache): Fix panic with stats collector wrapper

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>

* update

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
pull/6806/head
Kaviraj Kanagaraj 3 years ago committed by GitHub
parent de288ccbb8
commit acc3a2fe23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/storage/chunk/cache/cache.go

@ -90,7 +90,7 @@ func IsRedisSet(cfg Config) bool {
}
func IsGroupCacheSet(cfg Config) bool {
return cfg.EnableGroupCache
return cfg.EnableGroupCache && !cfg.EnableFifoCache
}
// IsCacheConfigured determines if memcached, redis, or groupcache have been configured

Loading…
Cancel
Save