mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-30 22:34:15 -05:00
Change storage module key from "system" to "module"
This commit is contained in:
parent
902ec37062
commit
7512ea1a64
1 changed files with 1 additions and 1 deletions
2
caddy.go
2
caddy.go
|
@ -84,7 +84,7 @@ func Run(newCfg *Config) error {
|
||||||
// set up storage and make it CertMagic's default storage, too
|
// set up storage and make it CertMagic's default storage, too
|
||||||
err = func() error {
|
err = func() error {
|
||||||
if newCfg.StorageRaw != nil {
|
if newCfg.StorageRaw != nil {
|
||||||
val, err := ctx.LoadModuleInline("system", "caddy.storage", newCfg.StorageRaw)
|
val, err := ctx.LoadModuleInline("module", "caddy.storage", newCfg.StorageRaw)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("loading storage module: %v", err)
|
return fmt.Errorf("loading storage module: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue