Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa1ad8 commit aee96c9Copy full SHA for aee96c9
coderd/files/cache.go
@@ -35,7 +35,7 @@ func NewFromStore(store database.Store, registerer prometheus.Registerer, authz
35
return CacheEntryValue{
36
Object: file.RBACObject(),
37
FS: archivefs.FromTarReader(content),
38
- Size: int64(content.Len()),
+ Size: int64(len(file.Data)),
39
}, nil
40
}
41
0 commit comments