Skip to content

Commit

Permalink
HCK-7485: fix re api disconnect parameters inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dannleed committed Aug 1, 2024
1 parent a211cea commit a25e1c5
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 @@ -62,7 +62,7 @@ module.exports = {
}
},

disconnect: function (connectionInfo, cb, app) {
disconnect: function (connectionInfo, logger, cb, app) {
cassandraHelper(app.require('lodash')).close(app);
cb();
},
Expand All @@ -80,7 +80,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 a25e1c5

Please sign in to comment.