Skip to content

Missing calls to Close() on the sftp client#39

Open
ericfaurot wants to merge 1 commit into
integration/sftpfrom
ef/sftp-close-client
Open

Missing calls to Close() on the sftp client#39
ericfaurot wants to merge 1 commit into
integration/sftpfrom
ef/sftp-close-client

Conversation

@ericfaurot

Copy link
Copy Markdown
Contributor

Properly close the sftp client in importer/exporter/storage Close() method.
Also close the local client in storage.Ping().

This makes sure the underlying ssh process is stopped and Wait()'d for before the main process exits.

Fixes zombie issues.

…ethod.

Also close the local client in storage.Ping().

This makes sure the underlying ssh process is stopped and Wait()'ed before the main process exits.

Fixes zombie issues.
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.

1 participant