diff options
Diffstat (limited to 'routers/api/packages/helm/helm.go')
-rw-r--r-- | routers/api/packages/helm/helm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/helm/helm.go b/routers/api/packages/helm/helm.go index cb30a20074..fb12daaa46 100644 --- a/routers/api/packages/helm/helm.go +++ b/routers/api/packages/helm/helm.go @@ -130,7 +130,7 @@ func DownloadPackageFile(ctx *context.Context) { }, ) if err != nil { - if err == packages_model.ErrPackageFileNotExist { + if errors.Is(err, packages_model.ErrPackageFileNotExist) { apiError(ctx, http.StatusNotFound, err) return } |