@marcel91200 / caddy Mirror · read-only / commits / 61917c34
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 12, 12:00 UTC

fix a typo (#6333)

a committed May 21, 2024 at 17:41 UTC 61917c34434204ae676411d41facffa7c7633d3a
1 file changed +1 -1
modules/caddyfs/filesystem.go
+1 -1
@@ -72,7 +72,7 @@ func (xs *Filesystems) Provision(ctx caddy.Context) error {
72 ctx.Filesystems().Register(f.Key, f.fileSystem)
73 // remember to unregister the module when we are done
74 xs.defers = append(xs.defers, func() {
75 - ctx.Logger().Debug("registering fs", zap.String("fs", f.Key))
75 + ctx.Logger().Debug("unregistering fs", zap.String("fs", f.Key))
76 ctx.Filesystems().Unregister(f.Key)
77 })
78 }