aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-04-30 07:07:05 -0400
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-04-30 07:07:05 -0400
commit6d42a73bb984e19eb1bf84e2a952eec861cea464 (patch)
tree72163d810d38c83c8a316572aca7eccd23388fe5
parent7a509048f68f10a3a44b6b09436f064828f40076 (diff)
parentb8776398c5bdba2083ba2f31364327ae2bc4eb13 (diff)
Merge pull request #1412 from murgatroid99/node_stub_expose_address
Exposed server address string in stub
-rw-r--r--src/node/src/client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/src/client.js b/src/node/src/client.js
index fad369c2f8..b2b79e8b70 100644
--- a/src/node/src/client.js
+++ b/src/node/src/client.js
@@ -488,6 +488,7 @@ function makeClientConstructor(methods) {
callback(null, metadata);
};
}
+ this.server_address = address;
this.channel = new grpc.Channel(address, options);
}