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

This commit is contained in:
Michael Eischer committed 2024-05-18 19:59:26 +02:00
1 parent 53561474d9
commit 6328b7e1f5
5 files changed
+7 -7

No files matched your search

+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 {