Browse Source

acmemanager: Use storage module key "module" instead of "system"

master
Matthew Holt 6 years ago
parent
commit
79216d356c
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      modules/caddytls/acmemanager.go

2
modules/caddytls/acmemanager.go

@ -77,7 +77,7 @@ func (m *ACMEManagerMaker) Provision(ctx caddy.Context) error {
// policy-specific storage implementation // policy-specific storage implementation
if m.Storage != nil { if m.Storage != nil {
val, err := ctx.LoadModuleInline("system", "caddy.storage", m.Storage) val, err := ctx.LoadModuleInline("module", "caddy.storage", m.Storage)
if err != nil { if err != nil {
return fmt.Errorf("loading TLS storage module: %s", err) return fmt.Errorf("loading TLS storage module: %s", err)
} }

Loading…
Cancel
Save