Skip to content

Commit

Permalink
doc: add missing property in cluster example
Browse files Browse the repository at this point in the history
`Cluster.setupMaster(options)` Options object was missing an `args`
property on the example.

PR-URL: #5305
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
MrOutput authored and rvagg committed Feb 28, 2016
1 parent 3bfe048 commit f8c6701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/cluster.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ cluster.setupMaster({
});
cluster.fork(); // https worker
cluster.setupMaster({
exec: 'worker.js',
args: ['--use', 'http']
});
cluster.fork(); // http worker
Expand Down

0 comments on commit f8c6701

Please sign in to comment.