sftp: remove spurious error message on --sftp-disable-concurrent-reads

This commit is contained in:
Nick Craig-Wood 2021-07-31 11:04:45 +01:00
parent 03bcf81c5e
commit b26308c427
1 changed files with 0 additions and 4 deletions

View File

@ -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...)
}