Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ssh.js #160

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Update ssh.js #160

merged 1 commit into from
Oct 20, 2023

Conversation

leonitousconforti
Copy link
Contributor

pr #154 definitely broke ssh functionality for me. Not sure why the return agent statement was moved up into agent.createConnection scope, but by doing so it results in any call to the ssh module to return undefined instead of an ssh agent. Which makes sense as this function never returns anything anymore, instead createConnection function returns the agent but that doesn't make sense based on how it is used.

@apocas
Copy link
Owner

apocas commented Oct 20, 2023

Yup good catch...
We definitely need to improve SSH tests in dockerode.

@leonitousconforti leonitousconforti marked this pull request as ready for review October 20, 2023 16:18
@apocas apocas merged commit 61ad6df into apocas:master Oct 20, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants