Skip to content

Commit

Permalink
HCK-7485: fix re api disconnect parameters inconsistency (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannleed authored Aug 7, 2024
1 parent 8f2c9ae commit a633a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reverse_engineering/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
}
},

disconnect: function (connectionInfo, cb, app) {
disconnect: function (connectionInfo, logger, cb, app) {
cassandraHelper(app.require('lodash')).close(app);
cb();
},
Expand All @@ -79,7 +79,7 @@ module.exports = {
logger.log('info', 'Connection successful', 'Test connection');
}

this.disconnect(connectionInfo, () => {}, app);
this.disconnect(connectionInfo, logger, () => {}, app);

return cb(cassandraHelper(app.require('lodash')).prepareError(error));
},
Expand Down

0 comments on commit a633a04

Please sign in to comment.