diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-12 10:15:27 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-12 10:15:27 -0600 |
commit | ccb5d19c258a1f4ec87ec7cdc4aedf1f1c7007dc (patch) | |
tree | 4ac992259b986e5c1926990e762fcd03bac60d0a /modules/caddyhttp | |
parent | b780f0f49b191a6724b7ec54aa62a97d23977231 (diff) |
Get module name at runtime, and tidy up modules
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/fileserver/matcher.go | 2 | ||||
-rwxr-xr-x | modules/caddyhttp/reverseproxy/upstream.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/fileserver/matcher.go b/modules/caddyhttp/fileserver/matcher.go index 023a69b..85081ea 100644 --- a/modules/caddyhttp/fileserver/matcher.go +++ b/modules/caddyhttp/fileserver/matcher.go @@ -20,8 +20,8 @@ import ( "os" "time" - "github.com/caddyserver/caddy/modules/caddyhttp" "github.com/caddyserver/caddy/v2" + "github.com/caddyserver/caddy/v2/modules/caddyhttp" ) func init() { diff --git a/modules/caddyhttp/reverseproxy/upstream.go b/modules/caddyhttp/reverseproxy/upstream.go index 9409ee7..10df80b 100755 --- a/modules/caddyhttp/reverseproxy/upstream.go +++ b/modules/caddyhttp/reverseproxy/upstream.go @@ -28,8 +28,8 @@ import ( "sync/atomic" "time" - "github.com/caddyserver/caddy/modules/caddyhttp" "github.com/caddyserver/caddy/v2" + "github.com/caddyserver/caddy/v2/modules/caddyhttp" ) // CircuitBreaker defines the functionality of a circuit breaker module. |