doc: Fix typo in dns.resolveSrv docs
authorEuan <euank@euank.com>
Thu, 5 Jun 2014 00:15:22 +0000 (20:15 -0400)
committerFedor Indutny <fedor@indutny.com>
Thu, 12 Jun 2014 17:44:13 +0000 (10:44 -0700)
Signed-off-by: Fedor Indutny <fedor@indutny.com>
doc/api/dns.markdown

index 211ac09..0221a7e 100644 (file)
@@ -105,7 +105,7 @@ treated separately.
 The same as `dns.resolve()`, but only for service records (`SRV` records).
 `addresses` is an array of the SRV records available for `hostname`. Properties
 of SRV records are priority, weight, port, and name (e.g.,
-`[{'priority': 10, {'weight': 5, 'port': 21223, 'name': 'service.example.com'}, ...]`).
+`[{'priority': 10, 'weight': 5, 'port': 21223, 'name': 'service.example.com'}, ...]`).
 
 ## dns.resolveSoa(hostname, callback)