dns: fix trace_events name for resolveCaa()

A test was added for this in 6f34498 but because it was a test in the
`internet` directory, it was not run on CI and it was not noticed that
the test was failing. This fixes the error that was causing the test to
fail.

PR-URL: https://github.com/nodejs/node/pull/35979
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Rich Trott authored and Michaël Zasso committed 2021-05-01 09:39:08 +02:00
1 parent 26e9c39cea
commit 0f126d0e05
1 file changed
+1 -1
+1 -1
View File
@@ -1493,7 +1493,7 @@ class QueryAaaaWrap: public QueryWrap {
class QueryCaaWrap: public QueryWrap {
public:
QueryCaaWrap(ChannelWrap* channel, Local<Object> req_wrap_obj)
: QueryWrap(channel, req_wrap_obj, "resolve6") {
: QueryWrap(channel, req_wrap_obj, "resolveCaa") {
}
int Send(const char* name) override {