backup: print full snapshot id in JSON summary

This commit is contained in:
Michael Eischer committed 2022-10-31 19:03:42 +01:00
1 parent 4f1fae9c98
commit 06141ce1f4
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ func (b *JSONProgress) Finish(snapshotID restic.ID, start time.Time, summary *Su
TotalFilesProcessed: summary.Files.New + summary.Files.Changed + summary.Files.Unchanged,
TotalBytesProcessed: summary.ProcessedBytes,
TotalDuration: time.Since(start).Seconds(),
SnapshotID: snapshotID.Str(),
SnapshotID: snapshotID.String(),
DryRun: dryRun,
})
}