1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

fix a typo (#6333)

This commit is contained in:
a 2024-05-21 17:41:41 -05:00 committed by GitHub
parent 224316eaec
commit 61917c3443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,7 @@ func (xs *Filesystems) Provision(ctx caddy.Context) error {
ctx.Filesystems().Register(f.Key, f.fileSystem) ctx.Filesystems().Register(f.Key, f.fileSystem)
// remember to unregister the module when we are done // remember to unregister the module when we are done
xs.defers = append(xs.defers, func() { 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) ctx.Filesystems().Unregister(f.Key)
}) })
} }