From 2fa68139969e87c94f3f1d2fda4f913b94c9a298 Mon Sep 17 00:00:00 2001 From: Andrew Cornies Date: Fri, 23 Aug 2019 17:05:50 -0400 Subject: [PATCH] fix TestResolveWithNoCacheQueriesTheCatalog test Signed-off-by: Andrew Cornies --- consul/service_resolver_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/consul/service_resolver_test.go b/consul/service_resolver_test.go index 74ac7618..05bc39ed 100644 --- a/consul/service_resolver_test.go +++ b/consul/service_resolver_test.go @@ -15,9 +15,10 @@ import ( func setup(t *testing.T, queryError error) (*Resolver, *MockWatcher, *cache.Cache, *MockServiceQuery) { dep := &dependency.CatalogService{ - ServiceName: "test", - Address: "myaddress", - ServicePort: 8080, + ServiceName: "test", + Address: "myaddress", + ServiceAddress: "myaddress", + ServicePort: 8080, } cs := []*dependency.CatalogService{dep}