Browse files

fix to re-assume the port in service() properly

  • Loading branch information...
1 parent 5357b87 commit 9a9c06472587dcf994a7152b5a4a87fc471d1d9b @substack committed Mar 24, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 index.js
  2. +1 −1 package.json
View
3 index.js
@@ -70,7 +70,8 @@ exports.connect = function () {
self.allocate(role, params, function (port, ready) {
up.on('up', function () {
- self.assume(role, params, port);
+ params.port = port;
+ self.assume(role, params);
});
fn(port, ready);
View
2 package.json
@@ -1,7 +1,7 @@
{
"name" : "seaport",
"description" : "service registry and port assignment for clusters",
- "version" : "0.6.2",
+ "version" : "0.6.3",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/seaport.git"

0 comments on commit 9a9c064

Please sign in to comment.