Skip to content

Commit

Permalink
Merge pull request #376 from Praqma/fix/373
Browse files Browse the repository at this point in the history
Fix/373
  • Loading branch information
Sami Alajrami authored Jan 7, 2020
2 parents 44cc364 + befbabe commit a4d0f3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/app/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ func (r *release) validateChart(app string, s *state, wg *sync.WaitGroup, c chan
result := cmd.exec()
if result.code != 0 {
maybeRepo := filepath.Base(filepath.Dir(r.Chart))
c <- "Chart [ " + r.Chart + " ] for app [" + app + "] can't be found. Did you mean to add a repo [ " + maybeRepo + " ]?"
c <- "Chart [ " + r.Chart + " ] for app [" + app + "] can't be found. Inspection returned error: \"" +
strings.TrimSpace(result.errors) + "\" -- If this is not a local chart, add the repo [ " + maybeRepo + " ] in your helmRepos stanza."
return
}
matches := versionExtractor.FindStringSubmatch(result.output)
Expand Down

0 comments on commit a4d0f3b

Please sign in to comment.