summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/caddyfile.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-08-09 12:19:56 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-08-09 12:19:56 -0600
commitc4159ef76d279d6a84257b24dbe97430af32eb1e (patch)
tree8749cd1171cde33b132a94bfcd1fd8c55cdfd979 /modules/caddyhttp/encode/caddyfile.go
parentab885f07b844fd60adb9d49ed7884f3cd2d939a7 (diff)
Fix module-related errors
Diffstat (limited to 'modules/caddyhttp/encode/caddyfile.go')
-rw-r--r--modules/caddyhttp/encode/caddyfile.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/caddyhttp/encode/caddyfile.go b/modules/caddyhttp/encode/caddyfile.go
index 846ec03..5aca6ac 100644
--- a/modules/caddyhttp/encode/caddyfile.go
+++ b/modules/caddyhttp/encode/caddyfile.go
@@ -18,10 +18,10 @@ import (
"encoding/json"
"fmt"
- "github.com/caddyserver/caddy"
- "github.com/caddyserver/caddy/caddyconfig"
- "github.com/caddyserver/caddy/caddyconfig/caddyfile"
- "github.com/caddyserver/caddy/caddyconfig/httpcaddyfile"
+ "github.com/caddyserver/caddy/v2"
+ "github.com/caddyserver/caddy/v2/caddyconfig"
+ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
+ "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
)
// UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: