mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 04:10:16 +08:00
fix a typo (#6333)
This commit is contained in:
parent
224316eaec
commit
61917c3443
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user