summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2022-11-21 09:36:59 +0100
committerGitHub <noreply@github.com>2022-11-21 09:36:59 +0100
commite4eaa68a2b2355c7333406fdcbb8b118677b95df (patch)
treea4027ec3b2efc7bf4d2f22f51676f3dc26e829e3 /routers
parentAllow disable RSS/Atom feed (#21622) (diff)
downloadforgejo-e4eaa68a2b2355c7333406fdcbb8b118677b95df.tar.xz
forgejo-e4eaa68a2b2355c7333406fdcbb8b118677b95df.zip
Replace yaml.v2 with yaml.v3 (#21832)
I don't see why we have to use two versions of yaml. The difference between the two versions has nothing to do with our usage.
Diffstat (limited to 'routers')
-rw-r--r--routers/api/packages/helm/helm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/helm/helm.go b/routers/api/packages/helm/helm.go
index 662d9a5dda..17f0a0d311 100644
--- a/routers/api/packages/helm/helm.go
+++ b/routers/api/packages/helm/helm.go
@@ -23,7 +23,7 @@ import (
"code.gitea.io/gitea/routers/api/packages/helper"
packages_service "code.gitea.io/gitea/services/packages"
- "gopkg.in/yaml.v2"
+ "gopkg.in/yaml.v3"
)
func apiError(ctx *context.Context, status int, obj interface{}) {