mirror of
https://github.com/restic/restic.git
synced 2026-11-01 13:05:41 +00:00
Fix error message
This commit is contained in:
1 parent
6645cb04e6
commit
77c421b940
1 file changed
+2
-2
+2
-2
@@ -148,7 +148,7 @@ func (ch *ContentHandler) Load(t backend.Type, id backend.ID) ([]byte, error) {
|
||||
// lookup storage hash
|
||||
blob, err := ch.bl.Find(Blob{ID: id})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Storage ID %s not found", id)
|
||||
return nil, fmt.Errorf("Storage ID for ID %s not found", id)
|
||||
}
|
||||
|
||||
// load data
|
||||
@@ -235,7 +235,7 @@ func (ch *ContentHandler) Test(t backend.Type, id backend.ID) (bool, error) {
|
||||
// lookup storage hash
|
||||
blob, err := ch.bl.Find(Blob{ID: id})
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("Storage ID %s not found", id)
|
||||
return false, fmt.Errorf("Storage ID for ID %s not found", id)
|
||||
}
|
||||
|
||||
id = blob.Storage
|
||||
|
||||
Reference in new issue
Block a user