more logging

This commit is contained in:
6543 2022-11-08 00:15:09 +01:00
parent 026ef06afe
commit 63d0b8d320
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862
2 changed files with 4 additions and 2 deletions

View file

@ -102,7 +102,7 @@ func (client *Client) ServeRawContent(targetOwner, targetRepo, ref, resource str
// handle if cache entry exist
if cache, ok := client.responseCache.Get(cacheKey); ok {
cache := cache.(FileResponse)
cachedHeader, cachedStatusCode := cache.createHttpResponse()
cachedHeader, cachedStatusCode := cache.createHttpResponse(cacheKey)
// TODO: check against some timestamp missmatch?!?
if cache.Exists {
if cache.IsSymlink {