fix repocard issues (#20)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-25 14:33:36 +03:00
committed by GitHub
parent dd78ae8658
commit 8076e410a9
18 changed files with 72 additions and 51 deletions

View File

@@ -58,7 +58,7 @@ func TestDelete(t *testing.T) {
t.Fatalf("error adding route: %s", err)
}
// should fail to delete non-existant route
// should fail to delete non-existent route
prevSvc := route.Service
route.Service = "randDest"

View File

@@ -71,7 +71,7 @@ func (t *table) Query(opts ...router.QueryOption) ([]router.Route, error) {
options := router.NewQuery(opts...)
return []router.Route{
router.Route{
{
Address: options.Service,
Service: options.Address,
Gateway: options.Gateway,