From ec09de162831cc186ccbcecb830ce2c2be964cbe Mon Sep 17 00:00:00 2001 From: Vighnesh SK Date: Thu, 10 Oct 2019 18:14:05 +0530 Subject: [PATCH] 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. --- fs/operations/operations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/operations/operations.go b/fs/operations/operations.go index d0181e578..a5c9158cd 100644 --- a/fs/operations/operations.go +++ b/fs/operations/operations.go @@ -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