summaryrefslogtreecommitdiffstats
path: root/resource/image_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'resource/image_cache.go')
-rw-r--r--resource/image_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/image_cache.go b/resource/image_cache.go
index 250155db1..a1d41ec38 100644
--- a/resource/image_cache.go
+++ b/resource/image_cache.go
@@ -42,7 +42,7 @@ func (c *imageCache) isInCache(key string) bool {
func (c *imageCache) deleteByPrefix(prefix string) {
c.mu.Lock()
defer c.mu.Unlock()
- for k, _ := range c.store {
+ for k := range c.store {
if strings.HasPrefix(k, prefix) {
delete(c.store, k)
}