Commit a81ff70
doc: dns.resolve fix callback argument description
The dns.resolve documentation stated that an array of IP
addresses would be returned in the callback. This is true
for everything other than the SOA record which returns an object.
This fixes that documentation.
Fixes: #6506
PR-URL: #7532
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent 9797969 commit a81ff70Copy full SHA for a81ff70
File tree
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
174 | 174 | |
175 | 175 | |
176 | 176 | |
177 | | - |
| 177 | + |
| 178 | + |
| 179 | + |
178 | 180 | |
179 | 181 | |
180 | 182 | |
| ||
437 | 439 | |
438 | 440 | |
439 | 441 | |
| 442 | + |
440 | 443 | |
441 | 444 | |
442 | 445 | |
|
0 commit comments