Skip to content

Conversation

@roopakparikh
Copy link
Contributor

Added a log statement to make it easy for customers to debug which host failed in a multi-threaded environment.

I am still testing it end to end, sending it out for a quick review

// RemoteExecutor as the name implies runs commands usign SSH on remote host
type RemoteExecutor struct {
Client ssh.Client
// host name for debugging purposes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit :
This is generic enough and can be used to log info other than host name. I am anticipating this functionality to get updated for ssh tunneling as well and we may want to log that info too.
Maybe just update the comment to indicate so ?

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.

3 participants