fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2026-03-18 08:55:29 +08:00
parent 1d0ffc5615
commit 8d393fd9fd
1 changed files with 2 additions and 1 deletions

View File

@ -647,11 +647,12 @@ func (a *App) ListReleases(c ListConfigProvider) error {
err = run.withPreparedCharts("list", state.ChartPrepareOptions{
SkipRepos: true,
SkipDeps: true,
SkipResolve: true,
Concurrency: 2,
}, func() {
stateReleases, listErr = a.list(run)
})
if listErr != nil {
if listErr != nil && err == nil {
err = listErr
}
} else {