diff --git a/AUTHORS b/AUTHORS index 2ae06a50..2c067dd2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -70,6 +70,7 @@ List of contributors, in chronological order: * Gordian Schoenherr (https://github.com/schoenherrg) * Silke Hofstra (https://github.com/silkeh) * Itay Porezky (https://github.com/itayporezky) +* Alejandro Guijarro Monerris (https://github.com/alguimodd) * JupiterRider (https://github.com/JupiterRider) * Agustin Henze (https://github.com/agustinhenze) * Tobias Assarsson (https://github.com/daedaluz) diff --git a/s3/public.go b/s3/public.go index 09b1afdb..fa0d96d8 100644 --- a/s3/public.go +++ b/s3/public.go @@ -346,7 +346,7 @@ func (storage *PublishedStorage) LinkFromPool(publishedPrefix, publishedRelPath, storage.pathCache = make(map[string]string, len(paths)) for i := range paths { - storage.pathCache[filepath.Join("pool", paths[i])] = md5s[i] + storage.pathCache[filepath.Join(publishedPrefix, "pool", paths[i])] = md5s[i] } }