aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-04-04 01:03:55 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-04-04 01:03:55 +0200
commitb9b8a680bae0590bfaeb954aee56b2057db41b1a (patch)
tree1bb9ab7d0399d758e908261b9f1f75f7811e388d
parent8b6b7145562d571a68904da2d10b8ce5edb583c3 (diff)
Cleanup
-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)