From a1a3b97ec20ce929bdc12ca3713939d8d56e1a6b Mon Sep 17 00:00:00 2001 From: Poor12 <1185060656@qq.com> Date: Sun, 26 Dec 2021 17:30:12 +0800 Subject: [PATCH] fix mapFiles error Signed-off-by: Poor12 <1185060656@qq.com> --- pkg/v3/release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/v3/release.go b/pkg/v3/release.go index 1d42081..3064807 100644 --- a/pkg/v3/release.go +++ b/pkg/v3/release.go @@ -203,7 +203,7 @@ func mapConfig(v2Config *v2chart.Config) (map[string]interface{}, error) { } func mapFiles(v2Files []*any.Any) []*chart.File { - if mapFiles == nil { + if v2Files == nil { return nil } files := []*chart.File{}