forked from kevadesu/forgejo
Fix container download counter (#19287)
* Increment counter on manifest download. * Refactor GetPackageFileStream method.
This commit is contained in:
parent
242d71035a
commit
08d199245a
4 changed files with 7 additions and 14 deletions
|
@ -331,7 +331,6 @@ func DownloadPackageFile(ctx *context.Context) {
|
|||
|
||||
s, _, err := packages_service.GetPackageFileStream(
|
||||
ctx,
|
||||
ctx.Package.Descriptor.Version,
|
||||
pf,
|
||||
)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue