mirror of
https://github.com/openziti/zrok.git
synced 2025-06-19 17:27:54 +02: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 {
|
for _, srcF := range srcTree {
|
||||||
if dstF, found := dstIndex[srcF.Path]; found {
|
if dstF, found := dstIndex[srcF.Path]; found {
|
||||||
if !srcF.IsDir && (dstF.Size != srcF.Size || dstF.Modified.Unix() != srcF.Modified.Unix()) {
|
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)
|
copyList = append(copyList, srcF)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user