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:
Vighnesh SK 2019-10-10 18:14:05 +05:30 committed by Nick Craig-Wood
parent 6abaa9e22c
commit ec09de1628
1 changed files with 1 additions and 1 deletions

View File

@ -1489,7 +1489,7 @@ func CompareOrCopyDest(ctx context.Context, fdst fs.Fs, dst, src fs.Object, Comp
// transferred or not.
func NeedTransfer(ctx context.Context, dst, src fs.Object) bool {
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
}
// If we should ignore existing files, don't transfer