summaryrefslogtreecommitdiff
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-03 10:40:25 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-03 10:40:25 -0600
commit7512ea1a644e53ec5d2dacaf3c346ed5d89cf233 (patch)
tree0c113043e77ab25c820f94e14472a32f17d7ca36 /caddy.go
parent902ec3706207e3ead757fe48d994d35fcf11c73e (diff)
Change storage module key from "system" to "module"
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 8a24166..c6d810d 100644
--- a/caddy.go
+++ b/caddy.go
@@ -84,7 +84,7 @@ func Run(newCfg *Config) error {
// set up storage and make it CertMagic's default storage, too
err = func() error {
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 {
return fmt.Errorf("loading storage module: %v", err)
}