Skip to content

Commit

Permalink
all: fix nil deref
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Dec 7, 2023
1 parent bb4ceb6 commit d7bf7b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func TestProxy_Resolve_dnssecCache(t *testing.T) {
Signature: "c29tZSBycnNpZyByZWxhdGVkIHN0dWZm",
}

p := &Proxy{}
p := createTestProxy(t, nil)
p.UpstreamConfig = &UpstreamConfig{
Upstreams: []upstream.Upstream{&testDNSSECUpstream{
a: a,
Expand Down

0 comments on commit d7bf7b9

Please sign in to comment.