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:
parent
224316eaec
commit
61917c3443
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue