Skip to content

Commit bd0e27a

Browse files
committed
fix: refine hijack option handling in attach method
1 parent 4e671af commit bd0e27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ Container.prototype.attach = function(opts, callback) {
743743
method: 'POST',
744744
abortSignal: args.opts.abortSignal,
745745
isStream: true,
746-
hijack: args.opts.hijack || args.opts.stdin,
746+
hijack: args.opts.hijack,
747747
openStdin: args.opts.stdin,
748748
statusCodes: {
749749
200: true,

0 commit comments

Comments
 (0)