Merge pull request #4176 from LXGaming/fix/impostor

Fix scan_finished JSON MessageType
This commit is contained in:
Michael Eischer
2023-03-12 12:14:40 +01:00
committed by GitHub
2 changed files with 8 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,