mirror of
https://github.com/openziti/zrok.git
synced 2025-02-02 03:20:26 +01:00
fix for log formatting (#438)
This commit is contained in:
parent
8ccb5603ca
commit
07c162bf4e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user