Commit de5e235
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 0f903bb commit de5e235Copy full SHA for de5e235
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 |
|---|---|---|
| ||
158 | 158 | |
159 | 159 | |
160 | 160 | |
161 | | - |
| 161 | + |
| 162 | + |
| 163 | + |
162 | 164 | |
163 | 165 | |
164 | 166 | |
| ||
379 | 381 | |
380 | 382 | |
381 | 383 | |
| 384 | + |
382 | 385 | |
383 | 386 | |
384 | 387 | |
|
0 commit comments