mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Fix scan_finished JSON MessageType
Corrected the scan_finished JSON MessageType from status to verbose_status
This commit is contained in:
parent
fa73b50b45
commit
4cbbf5d952
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user