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 silverwind committed Feb 27, 2016
1 parent 1913909 commit 9894c02
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 @@ -642,6 +642,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 9894c02

Please sign in to comment.