Skip to content

Commit

Permalink
fix vet
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Nov 11, 2019
1 parent c7f58d9 commit 9831661
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/resolver/dns/dns_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ const (
type testClientConn struct {
target string
m1 sync.Mutex
m2 sync.Mutex
sc string
state resolver.State
updateStateCalls int
}
Expand Down Expand Up @@ -967,10 +965,10 @@ func TestDisableServiceConfig(t *testing.T) {
b := NewBuilder()
cc := &testClientConn{target: a.target}
r, err := b.Build(resolver.Target{Endpoint: a.target}, cc, resolver.BuildOption{DisableServiceConfig: a.disableServiceConfig})
defer r.Close()
if err != nil {
t.Fatalf("%v\n", err)
}
defer r.Close()
var cnt int
var sc string
for i := 0; i < 2000; i++ {
Expand Down

0 comments on commit 9831661

Please sign in to comment.