Skip to content

Commit

Permalink
Fix cache key during warmup
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Apr 22, 2023
1 parent 04cd28f commit d11058f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (h *Handler) startCacheWarmup(c sharecache.Warmup) {
return
}
for _, r := range infos {
key := storagespace.FormatResourceID(*r.Id)
key := h.resourceInfoCache.GetKey(r.Owner, &provider.Reference{ResourceId: r.Id}, []string{}, []string{})
_ = h.resourceInfoCache.PushToCache(key, r)
}
}
Expand Down

0 comments on commit d11058f

Please sign in to comment.