mirror of
https://github.com/restic/restic.git
synced 2026-08-30 09:17:14 +00:00
replace "too small" with "too short" in error messages
This commit is contained in:
Vendored
+1
-1
@@ -61,7 +61,7 @@ func (c *Cache) load(h backend.Handle, length int, offset int64) (io.ReadCloser,
|
||||
if size < offset+int64(length) {
|
||||
_ = f.Close()
|
||||
_ = c.remove(h)
|
||||
return nil, errors.Errorf("cached file %v is too small, removing", h)
|
||||
return nil, errors.Errorf("cached file %v is too short, removing", h)
|
||||
}
|
||||
|
||||
if offset > 0 {
|
||||
|
||||
Reference in New Issue
Block a user