Skip to content

Commit

Permalink
ClusterModifier: fix incorrect condition in the SourceCopiedToDest me…
Browse files Browse the repository at this point in the history
…thod (#93)

* Update RsyncRemoteFileCopier.cs
  • Loading branch information
ikopylov authored Dec 19, 2023
1 parent d98f06e commit b6158f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RemoteFileCopy/RsyncRemoteFileCopier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public async Task<bool> SourceCopiedToDest(RemoteDir from, RemoteDir to, Cancell
var srcFiles = files[0];
var dstFiles = files[1];

if (srcFiles.Count() < dstFiles.Count())
if (srcFiles.Count() > dstFiles.Count())
return false;

var equal = srcFiles
Expand Down

0 comments on commit b6158f2

Please sign in to comment.