fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2026-03-18 13:23:03 +08:00
parent 97a2f343f9
commit 20a2e1f5ec
1 changed files with 2 additions and 1 deletions

View File

@ -1033,7 +1033,8 @@ func resolveOciChart(ociChart string) (ociChartURL, ociChartTag string) {
func (helm *execer) ShowChart(chartPath string) (chart.Metadata, error) {
var helmArgs = []string{"show", "chart", chartPath}
out, error := helm.exec(helmArgs, map[string]string{}, nil)
enableLiveOutput := false
out, error := helm.exec(helmArgs, map[string]string{}, &enableLiveOutput)
if error != nil {
return chart.Metadata{}, error
}