aboutsummaryrefslogtreecommitdiff
path: root/plugin/template/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/template/setup.go')
-rw-r--r--plugin/template/setup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/template/setup.go b/plugin/template/setup.go
index cd4cc1b90..841d2944f 100644
--- a/plugin/template/setup.go
+++ b/plugin/template/setup.go
@@ -149,7 +149,7 @@ func templateParse(c *caddy.Controller) (handler Handler, err error) {
if err != nil {
return handler, err
}
- t.upstream = u
+ t.upstream = &u
default:
return handler, c.ArgErr()
}