From 30024c3445819be6b16e5cb04cf1274e4521baa7 Mon Sep 17 00:00:00 2001 From: Nic Waller Date: Thu, 28 Sep 2023 10:58:31 -0700 Subject: [PATCH 1/2] clean pathCache --- s3/public.go | 1 + 1 file changed, 1 insertion(+) diff --git a/s3/public.go b/s3/public.go index b44c7fe68..a13204f48 100644 --- a/s3/public.go +++ b/s3/public.go @@ -220,6 +220,7 @@ func (storage *PublishedStorage) Remove(path string) error { return errors.Wrap(err, fmt.Sprintf("error deleting %s from %s", path, storage)) } + delete(storage.pathCache, path) if storage.plusWorkaround && strings.Contains(path, "+") { // try to remove workaround version, but don't care about result _ = storage.Remove(strings.Replace(path, "+", " ", -1)) From 79342292f81b7a9e7c92f1b82c1ba71882118020 Mon Sep 17 00:00:00 2001 From: Nic Waller <129797628+sf-nwaller@users.noreply.github.com> Date: Thu, 28 Sep 2023 21:43:36 -0700 Subject: [PATCH 2/2] Update AUTHORS as per contributor instructions --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 00bc4557a..976964780 100644 --- a/AUTHORS +++ b/AUTHORS @@ -49,3 +49,4 @@ List of contributors, in chronological order: * Samuel Mutel (https://github.com/smutel) * Russell Greene (https://github.com/russelltg) * Wade Simmons (https://github.com/wadey) +* Nic Waller (https://github.com/sf-nwaller)