Fix Cached flag
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user