mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 01:44:41 +01:00
acd: make file size warning at Info level so it appears by default
This commit is contained in:
parent
6bad0ad9c4
commit
e48d19f895
@ -558,7 +558,7 @@ func (f *Fs) Put(in io.Reader, src fs.ObjectInfo) (fs.Object, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if size > warnFileSize {
|
if size > warnFileSize {
|
||||||
fs.Debugf(f, "Warning: file %q may fail because it is too big. Use --max-size=%dM to skip large files.", remote, warnFileSize>>20)
|
fs.Logf(f, "Warning: file %q may fail because it is too big. Use --max-size=%dM to skip large files.", remote, warnFileSize>>20)
|
||||||
}
|
}
|
||||||
folder := acd.FolderFromId(directoryID, o.fs.c.Nodes)
|
folder := acd.FolderFromId(directoryID, o.fs.c.Nodes)
|
||||||
var info *acd.File
|
var info *acd.File
|
||||||
|
Loading…
Reference in New Issue
Block a user