forked from TrueCloudLab/restic
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue