From ccb5d19c258a1f4ec87ec7cdc4aedf1f1c7007dc Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 12 Jul 2019 10:15:27 -0600 Subject: Get module name at runtime, and tidy up modules --- modules/caddyhttp/fileserver/matcher.go | 2 +- modules/caddyhttp/reverseproxy/upstream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/caddyhttp') 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. -- cgit v1.2.3