summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
commitfdd871e1775d1b6d85de43e8ecf7ddc71a72c503 (patch)
tree958ba660c9970dc9d33487e1af6f50af8ff2e034 /modules/caddyhttp/reverseproxy
parent94c28a2574e8691aa64d28d70e9c03cb1d049726 (diff)
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-rwxr-xr-xmodules/caddyhttp/reverseproxy/module.go2
-rwxr-xr-xmodules/caddyhttp/reverseproxy/upstream.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/module.go b/modules/caddyhttp/reverseproxy/module.go
index b246712..72946b7 100755
--- a/modules/caddyhttp/reverseproxy/module.go
+++ b/modules/caddyhttp/reverseproxy/module.go
@@ -15,7 +15,7 @@
package reverseproxy
import (
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
// Register caddy module.
diff --git a/modules/caddyhttp/reverseproxy/upstream.go b/modules/caddyhttp/reverseproxy/upstream.go
index bcbcd22..a7fea3e 100755
--- a/modules/caddyhttp/reverseproxy/upstream.go
+++ b/modules/caddyhttp/reverseproxy/upstream.go
@@ -28,7 +28,7 @@ import (
"sync/atomic"
"time"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
// CircuitBreaker defines the functionality of a circuit breaker module.