From 61917c34434204ae676411d41facffa7c7633d3a Mon Sep 17 00:00:00 2001 From: a Date: Tue, 21 May 2024 17:41:41 -0500 Subject: [PATCH] fix a typo (#6333) --- modules/caddyfs/filesystem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyfs/filesystem.go b/modules/caddyfs/filesystem.go index b3361df2..b2fdcf7a 100644 --- a/modules/caddyfs/filesystem.go +++ b/modules/caddyfs/filesystem.go @@ -72,7 +72,7 @@ func (xs *Filesystems) Provision(ctx caddy.Context) error { ctx.Filesystems().Register(f.Key, f.fileSystem) // remember to unregister the module when we are done xs.defers = append(xs.defers, func() { - ctx.Logger().Debug("registering fs", zap.String("fs", f.Key)) + ctx.Logger().Debug("unregistering fs", zap.String("fs", f.Key)) ctx.Filesystems().Unregister(f.Key) }) }