doc: fixed worker.id type
authorJames M Snell <jasnell@gmail.com>
Fri, 14 Aug 2015 22:12:47 +0000 (15:12 -0700)
committerJames M Snell <jasnell@gmail.com>
Wed, 26 Aug 2015 01:52:25 +0000 (18:52 -0700)
per: https://github.com/joyent/node/pull/25459

originally submitted by @sonnyp

Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/2378

doc/api/cluster.markdown

index 13ac19e..a40e4e7 100644 (file)
@@ -384,7 +384,7 @@ it can be obtained using `cluster.worker`.
 
 ### worker.id
 
-* {String}
+* {Number}
 
 Each new worker is given its own unique id, this id is stored in the
 `id`.