Permalink
Browse files

pass along secret keys in the command-line tool

  • Loading branch information...
1 parent 67d852c commit fee73cace30ca3c86025c32ee2e5ce34e79fb07c @substack committed Apr 7, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/cli.js
  2. +1 −1 package.json
View
@@ -60,7 +60,7 @@ else {
});
}
else if (cmd === 'query') {
- var ports = seaport.connect(host, port);
+ var ports = seaport.connect(host, port, argv);
ports.query(argv._[2], function (ps) {
console.log(JSON.stringify(ps.map(function (p) {
return p.host + ':' + p.port
@@ -69,7 +69,7 @@ else {
});
}
else if (cmd === 'show' || cmd === undefined) {
- var ports = seaport.connect(host, port);
+ var ports = seaport.connect(host, port, argv);
ports.query(function (ps) {
console.log(JSON.stringify(ps, undefined, 2));
ports.close();
View
@@ -1,7 +1,7 @@
{
"name" : "seaport",
"description" : "service registry and port assignment for clusters",
- "version" : "0.6.5",
+ "version" : "0.6.6",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/seaport.git"

0 comments on commit fee73ca

Please sign in to comment.