aboutsummaryrefslogtreecommitdiff
path: root/route.go
diff options
context:
space:
mode:
Diffstat (limited to 'route.go')
-rw-r--r--route.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/route.go b/route.go
index a13c111..7ef8645 100644
--- a/route.go
+++ b/route.go
@@ -58,10 +58,7 @@ func NewRoute(e Entry) (Route, error) {
if host.Path == "" {
host.Path = "/"
}
- r := Route{
- ServerName: host,
- Upstream: up,
- }
+ r := Route{ServerName: host, Upstream: up}
if host.Scheme == "https" {
if e.Cert == nil || e.Key == nil {
return fail(ErrNoCert)