-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix ssh context not working #577
base: master
Are you sure you want to change the base?
Conversation
It seems that I was missing the code of the PR #511 that was merged early June. The code of this branch is a bit cleaner and now works for me |
I'll get to the tests in a few days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments :)
@@ -71,33 +71,30 @@ func (c *DockerCommand) NewCommandObject(obj CommandObject) CommandObject { | |||
return defaultObj | |||
} | |||
|
|||
// NewDockerCommand it runs docker commands | |||
// NewDockerCommand creates a DockerCommand struct that wraps the docker client. | |||
// Able to run docker commands. And handles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is incomplete
client.FromEnv, | ||
client.WithVersion(APIVersion), | ||
} | ||
// For an ssh connection the DOCKER_HOST env variable has been overridden. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain the rationale behind these changes? I'm not clear on the reasoning
Fix issue as described in #559