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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {