Skip to content

Commit 3f1357c

Browse files
author
Fabian Holler
committed
tests: remove unused field and unnecessary return statement
1 parent 2426fe3 commit 3f1357c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

consul/resolver_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func TestBackoff_IntervalIdxBounds(t *testing.T) {
6565
}
6666

6767
type testClientConn struct {
68-
target string
6968
mutex sync.Mutex
7069
addrs []resolver.Address
7170
newAddressCallCnt int
@@ -94,7 +93,6 @@ func (t *testClientConn) getAddrs() (addrs []resolver.Address) {
9493
}
9594

9695
func (*testClientConn) NewServiceConfig(string) {
97-
return
9896
}
9997

10098
type consulMockHealthClient struct {

0 commit comments

Comments
 (0)