mirror of
https://github.com/datarhei/core.git
synced 2025-10-16 13:00:37 +08:00
Define default policies to mimic current behaviour
This commit is contained in:
@@ -67,7 +67,7 @@ func (r *sizedFilesystem) Resize(size int64) error {
|
||||
|
||||
func (r *sizedFilesystem) WriteFileReader(path string, rd io.Reader) (int64, bool, error) {
|
||||
currentSize, maxSize := r.Size()
|
||||
if maxSize < 0 {
|
||||
if maxSize <= 0 {
|
||||
return r.Filesystem.WriteFileReader(path, rd)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user