From 676c3733561d5e912851a2b287575778537dc294 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 26 Mar 2017 13:24:05 -0700 Subject: [PATCH] database: fix term count error --- database/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/db.go b/database/db.go index fdba042..c13776f 100644 --- a/database/db.go +++ b/database/db.go @@ -67,7 +67,7 @@ func (db *DB) SaveRoute(resp *routerpc.AddHostResponse) error { } func (db *DB) GetRouteForHost(name string) (*Route, error) { - rows, err := r.Table("routes").Filter(r.Row.Field("hostname", name).Or(r.Row.Field("onionhostname", name))).Run(db.s) + rows, err := r.Table("routes").Filter(r.Row.Field("hostname", name)).Run(db.s) if err != nil { return nil, err }