"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
sftp: ignore errors when closing the connection pool
Nick Craig-Wood6e853c82d8dc
diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.goindex 28a71ea14..4fd88ab48 100644--- a/backend/sftp/sftp.go+++ b/backend/sftp/sftp.go@@ -815,13 +815,13 @@ func (f *Fs) drainPool(ctx context.Context) (err error) {if cErr := c.closed(); cErr == nil {cErr = c.close()if cErr != nil {- err = cErr+ fs.Debugf(f, "Ignoring error closing connection: %v", cErr)}}f.pool[i] = nil}f.pool = nil- return err+ return nil}// NewFs creates a new Fs object from the name and root. It connects to