Skip to content

Commit cbec8b1

Browse files
authored
Fix zmq-monitor.js parsing of urls
Fixes zmq-monitor.js parsing of urls when other variadic command line option like "-p, --peers" is present
2 parents c14a23c + 00ab0e9 commit cbec8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/zmq-monitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const options = {
3535
// timeout: 5000,
3636
// serverElectionGraceDelay: 15000,
3737
secret: opts.cluster,
38-
urls: opts.args
38+
urls: program.args
3939
};
4040

4141
if (opts.urlsOnly) {

0 commit comments

Comments
 (0)