mirror of
https://github.com/rclone/rclone.git
synced 2025-01-13 20:38:12 +02:00
Change the Debug message in NeedTranser (#3608)
'Couldn't find file - Need to Transfer' changed to 'Need to transfer - File Not Found at Destination' because while reading the debug logs, it confuses with failure in operation.
This commit is contained in:
parent
6abaa9e22c
commit
ec09de1628
@ -1489,7 +1489,7 @@ func CompareOrCopyDest(ctx context.Context, fdst fs.Fs, dst, src fs.Object, Comp
|
|||||||
// transferred or not.
|
// transferred or not.
|
||||||
func NeedTransfer(ctx context.Context, dst, src fs.Object) bool {
|
func NeedTransfer(ctx context.Context, dst, src fs.Object) bool {
|
||||||
if dst == nil {
|
if dst == nil {
|
||||||
fs.Debugf(src, "Couldn't find file - need to transfer")
|
fs.Debugf(src, "Need to transfer - File not found at Destination")
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// If we should ignore existing files, don't transfer
|
// If we should ignore existing files, don't transfer
|
||||||
|
Loading…
Reference in New Issue
Block a user