Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
fix TestResolveWithNoCacheQueriesTheCatalog test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Cornies <[email protected]>
  • Loading branch information
acornies committed Aug 23, 2019
1 parent ad2dfd6 commit 2fa6813
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions consul/service_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 2fa6813

Please sign in to comment.