mirror of
https://github.com/octoleo/restic.git
synced 2025-01-27 17:18:34 +00:00
debug: make output less verbose
This commit is contained in:
parent
086993bae1
commit
90f975fa1c
@ -300,11 +300,10 @@ func loadBlobs(ctx context.Context, repo restic.Repository, pack string, list []
|
|||||||
}
|
}
|
||||||
|
|
||||||
id := restic.Hash(plaintext)
|
id := restic.Hash(plaintext)
|
||||||
fmt.Printf(" successfully decrypted blob (length %v), hash is %v\n", len(plaintext), id)
|
|
||||||
if !id.Equal(blob.ID) {
|
if !id.Equal(blob.ID) {
|
||||||
fmt.Printf(" IDs do not match, want %v, got %v\n", blob.ID, id)
|
fmt.Printf(" successfully decrypted blob (length %v), hash is %v, ID does not match, wanted %v\n", len(plaintext), id, blob.ID)
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf(" IDs match\n")
|
fmt.Printf(" successfully decrypted blob (length %v), hash is %v, ID matches\n", len(plaintext), id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user