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
1 changed files with 1 additions and 1 deletions

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,