2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00

Fix scan_finished JSON MessageType

Corrected the scan_finished JSON MessageType from status to verbose_status
This commit is contained in:
Alex Thomson 2023-01-27 23:29:06 +13:00 committed by Michael Eischer
parent fa73b50b45
commit 4cbbf5d952

View File

@ -164,7 +164,7 @@ func (b *JSONProgress) CompleteItem(messageType, item string, previous, current
func (b *JSONProgress) ReportTotal(item string, start time.Time, s archiver.ScanStats) {
if b.v >= 2 {
b.print(verboseUpdate{
MessageType: "status",
MessageType: "verbose_status",
Action: "scan_finished",
Duration: time.Since(start).Seconds(),
DataSize: s.Bytes,