mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
@@ -184,7 +184,7 @@ func (u *uploader) upload() error {
|
||||
fs.Debugf(u, "Uploading as single part object to QingStor")
|
||||
return u.singlePartUpload(reader, u.readerPos)
|
||||
} else if err != nil {
|
||||
return fmt.Errorf("read upload data failed: %s", err)
|
||||
return fmt.Errorf("read upload data failed: %w", err)
|
||||
}
|
||||
|
||||
fs.Debugf(u, "Uploading as multi-part object to QingStor")
|
||||
|
||||
Reference in New Issue
Block a user