aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddytls/folderloader.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-06-14 11:58:28 -0600
committerMatthew Holt <[email protected]>2019-06-14 11:58:28 -0600
commit5137859e47678aae81e178ca7d164f9e2b4e3121 (patch)
treef0e5cb9b9a4ad5dc03b53127fcea2a536bd6ee27 /modules/caddytls/folderloader.go
parentb8e7453fef3dac6036403bc384eec96becff5114 (diff)
downloadcaddy-5137859e47678aae81e178ca7d164f9e2b4e3121.tar.gz
caddy-5137859e47678aae81e178ca7d164f9e2b4e3121.zip
Rename caddy2 -> caddy
Removes the version from the package name
Diffstat (limited to 'modules/caddytls/folderloader.go')
-rw-r--r--modules/caddytls/folderloader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddytls/folderloader.go b/modules/caddytls/folderloader.go
index 0ce53b7ac..bcc22d865 100644
--- a/modules/caddytls/folderloader.go
+++ b/modules/caddytls/folderloader.go
@@ -10,11 +10,11 @@ import (
"path/filepath"
"strings"
- "github.com/caddyserver/caddy2"
+ "github.com/caddyserver/caddy"
)
func init() {
- caddy2.RegisterModule(caddy2.Module{
+ caddy.RegisterModule(caddy.Module{
Name: "tls.certificates.load_folders",
New: func() interface{} { return folderLoader{} },
})