Skip to content

Commit

Permalink
Merge pull request #708 from CoderPad/fix-node-inspect-abort
Browse files Browse the repository at this point in the history
fix: node inspect is not using abort signal
  • Loading branch information
apocas authored Dec 5, 2022
2 parents d668803 + e860e79 commit d202543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Node.prototype.inspect = function(opts, callback) {
var optsf = {
path: '/nodes/' + this.id,
method: 'GET',
abortSignal: args.abortSignal,
abortSignal: args.opts.abortSignal,
statusCodes: {
200: true,
404: 'no such node',
Expand Down

0 comments on commit d202543

Please sign in to comment.