Fix Cached flag

This commit is contained in:
Deluan
2020-07-24 18:46:08 -04:00
parent 58b816c2ed
commit f8f16d676d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func (fc *fileCache) Get(ctx context.Context, arg fmt.Stringer) (*CachedStream,
}
// All other cases, just return a Reader, without Seek capabilities
return &CachedStream{Reader: r, Cached: true}, nil
return &CachedStream{Reader: r, Cached: cached}, nil
}
func (fc *fileCache) Ready() bool {