diff options
author | a <[email protected]> | 2024-05-21 17:41:41 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-21 18:41:41 -0400 |
commit | 61917c34434204ae676411d41facffa7c7633d3a (patch) | |
tree | 3b9dc1d014c1e26d51a5e4933472fd0c1e2795f5 | |
parent | 224316eaecd6bffd38719e1e03e09f8fe51649e7 (diff) | |
download | caddy-61917c34434204ae676411d41facffa7c7633d3a.tar.gz caddy-61917c34434204ae676411d41facffa7c7633d3a.zip |
fix a typo (#6333)
-rw-r--r-- | modules/caddyfs/filesystem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyfs/filesystem.go b/modules/caddyfs/filesystem.go index b3361df20..b2fdcf7a2 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) }) } |