fix debug logs with missing parameters

This commit is contained in:
Michael Eischer committed 2026-11-28 20:27:06 +01:00
1 parent 152c2720bb
commit 1227b2ab7e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -848,7 +848,7 @@ func (arch *Archiver) loadParentTree(ctx context.Context, sn *data.Snapshot) dat
}
if sn.Tree == nil {
debug.Log("snapshot %v has empty tree %v", *sn.ID())
debug.Log("snapshot %v has empty tree", *sn.ID())
return nil
}
+1 -1
View File
@@ -120,7 +120,7 @@ var Full = func(idx *Index) bool {
switch {
case age >= indexMaxAge:
debug.Log("index %p is old enough", idx, age)
debug.Log("index %p is old enough %v", idx, age)
return true
case blobs >= indexMaxBlobs:
debug.Log("index %p has %d blobs", idx, blobs)