Skip to content

Commit

Permalink
Use proper status recorder in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal committed Jan 22, 2025
1 parent 53e7ee9 commit 60e3451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/internal/dns/server_test.go
Original file line number Diff line number Diff line change
@@ -294,7 +294,7 @@ func TestUpdateDNSServer(t *testing.T) {
t.Log(err)
}
}()
dnsServer, err := NewDefaultServer(context.Background(), wgIface, "", &peer.Status{}, nil, false)
dnsServer, err := NewDefaultServer(context.Background(), wgIface, "", peer.NewRecorder("mgm"), nil, false)
if err != nil {
t.Fatal(err)
}

0 comments on commit 60e3451

Please sign in to comment.