diff --git a/pkg/app/app.go b/pkg/app/app.go index 33511a80..ad5196fd 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -340,6 +340,9 @@ func (e *Error) Error() string { } else { msgs := []string{} for i, err := range e.Errors { + if err == nil { + continue + } msgs = append(msgs, fmt.Sprintf("err %d: %v", i, err.Error())) } cause = fmt.Sprintf("%d errors:\n%s", len(e.Errors), strings.Join(msgs, "\n")) diff --git a/state/state.go b/state/state.go index e109bdff..3e21d371 100644 --- a/state/state.go +++ b/state/state.go @@ -450,6 +450,10 @@ func (st *HelmState) downloadCharts(helm helmexec.Interface, dir string, concurr chartPath = path.Join(dir, release.Name, "latest", release.Chart) } + if st.isDevelopment(release) { + fetchFlags = append(fetchFlags, "--devel") + } + // only fetch chart if it is not already fetched if _, err := os.Stat(chartPath); os.IsNotExist(err) { fetchFlags = append(fetchFlags, "--untar", "--untardir", chartPath) @@ -463,7 +467,6 @@ func (st *HelmState) downloadCharts(helm helmexec.Interface, dir string, concurr chartPath = filepath.Dir(fullChartPath) } } - results <- &downloadResults{release.Name, chartPath} } },