From b26308c42721f759865acf2385b8d7a387863041 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 31 Jul 2021 11:04:45 +0100 Subject: [PATCH] sftp: remove spurious error message on --sftp-disable-concurrent-reads --- backend/sftp/sftp.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.go index ea003cda5..3167a8c65 100644 --- a/backend/sftp/sftp.go +++ b/backend/sftp/sftp.go @@ -429,10 +429,6 @@ func (f *Fs) newSftpClient(conn *ssh.Client, opts ...sftp.ClientOption) (*sftp.C sftp.UseConcurrentReads(!f.opt.DisableConcurrentReads), sftp.UseConcurrentWrites(!f.opt.DisableConcurrentWrites), ) - if f.opt.DisableConcurrentReads { // FIXME - fs.Errorf(f, "Ignoring disable_concurrent_reads after library reversion - see #5197") - } - return sftp.NewClientPipe(pr, pw, opts...) }