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 <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
MrOutput authored and Myles Borins committed Mar 17, 2016
1 parent 9a1c8ba commit 0605d41
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 0605d41

Please sign in to comment.