replace "too small" with "too short" in error messages

This commit is contained in:
Michael Eischer
2024-05-18 19:59:26 +02:00
parent 53561474d9
commit 6328b7e1f5
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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 {