Skip to content

Commit 5e87458

Browse files
authored
Set hostname additional property in connection dict (#27)
1 parent e0c4d88 commit 5e87458

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/coreClient.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ class CoreClient {
239239
connectionDict.host = this.options.url;
240240
connectionDict.port = this.options.port;
241241
}
242+
connectionDict.hostname = this.options.url;
242243

243244
//sasl
244245
connectionDict.username = this.options.username;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cli-rhea",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"description": "Client interface built on amqp/rhea lib",
55
"scripts": {
66
"test": "mocha test/*Test.js",

0 commit comments

Comments
 (0)