Skip to content

Commit b9b9a0e

Browse files
DefaultProvider DeleteMany key fix (#664)
* DefaultProvider DeleteMany key fix & Caddy DisableCoalescing fix * Revert DisableCoalescing fix
1 parent 548a57d commit b9b9a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/storage/defaultProvider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (provider *Default) DeleteMany(key string) {
191191

192192
provider.m.Range(func(current, _ any) bool {
193193
if (re != nil && re.MatchString(current.(string))) || strings.HasPrefix(current.(string), key) {
194-
provider.m.Delete(key)
194+
provider.m.Delete(current)
195195
}
196196

197197
return true

0 commit comments

Comments
 (0)