fix for log formatting (#438)

This commit is contained in:
Michael Quigley 2024-01-09 17:15:58 -05:00
parent 8ccb5603ca
commit 07c162bf4e
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -26,7 +26,7 @@ func Synchronize(src, dst Target) error {
for _, srcF := range srcTree {
if dstF, found := dstIndex[srcF.Path]; found {
if !srcF.IsDir && (dstF.Size != srcF.Size || dstF.Modified.Unix() != srcF.Modified.Unix()) {
logrus.Debugf("%v <- dstF.Size = '%d', srcF.Size = '%d', dstF.Modified.UTC = '%d', srcF.Modified.UTC = '%d'", srcF.Path, dstF.Size, srcF.Size, dstF.Modified, srcF.Modified)
logrus.Debugf("%v <- dstF.Size = '%d', srcF.Size = '%d', dstF.Modified.UTC = '%d', srcF.Modified.UTC = '%d'", srcF.Path, dstF.Size, srcF.Size, dstF.Modified.Unix(), srcF.Modified.Unix())
copyList = append(copyList, srcF)
}
} else {