Skip to content

Commit a633a04

Browse files
authored
HCK-7485: fix re api disconnect parameters inconsistency (#140)
1 parent 8f2c9ae commit a633a04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reverse_engineering/api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = {
6161
}
6262
},
6363

64-
disconnect: function (connectionInfo, cb, app) {
64+
disconnect: function (connectionInfo, logger, cb, app) {
6565
cassandraHelper(app.require('lodash')).close(app);
6666
cb();
6767
},
@@ -79,7 +79,7 @@ module.exports = {
7979
logger.log('info', 'Connection successful', 'Test connection');
8080
}
8181

82-
this.disconnect(connectionInfo, () => {}, app);
82+
this.disconnect(connectionInfo, logger, () => {}, app);
8383

8484
return cb(cassandraHelper(app.require('lodash')).prepareError(error));
8585
},

0 commit comments

Comments
 (0)