Skip to content

Commit b536775

Browse files
committed
Build fails on node 0.10.x
1 parent 064741b commit b536775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/connection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Connection.prototype.connect = function (endpoint, params, callback) {
6565

6666
// Merge constructor options into request config Object
6767

68-
if (!util.isNullOrUndefined(self.options)) {
68+
if (!utils.isNullOrUndefined(self.options)) {
6969
Object.keys(self.options).forEach(function (key) {
7070
if (key === 'pool') {
7171
conf[key] = self.options[key];
@@ -76,7 +76,7 @@ Connection.prototype.connect = function (endpoint, params, callback) {
7676

7777
// Input parameters is invalid
7878

79-
if (util.isNullOrUndefined(params)) {
79+
if (utils.isNullOrUndefined(params)) {
8080
return self.emit('connection error unknown', new Error('Illegal stream parameters provided'));
8181
}
8282

0 commit comments

Comments
 (0)