1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix container download counter (#19287)

* Increment counter on manifest download.

* Refactor GetPackageFileStream method.
This commit is contained in:
KN4CK3R
2022-04-01 01:08:32 +02:00
committed by GitHub
parent 242d71035a
commit 08d199245a
4 changed files with 7 additions and 14 deletions

View File

@@ -331,7 +331,6 @@ func DownloadPackageFile(ctx *context.Context) {
s, _, err := packages_service.GetPackageFileStream(
ctx,
ctx.Package.Descriptor.Version,
pf,
)
if err != nil {