Merge pull request #564 from michelleN/repo-error-msg

ref(helm): make repo not found error more clear
pull/575/head
Michelle Noorali 9 years ago
commit 6003d93a76

@ -69,7 +69,7 @@ func (e *expander) getBaseURL() string {
func (e *expander) ExpandConfiguration(conf *common.Configuration) (*ExpandedConfiguration, error) {
expConf, err := e.expandConfiguration(conf)
if err != nil {
return nil, fmt.Errorf("cannot expand configuration:%s\n%v\n", err, conf)
return nil, err
}
return expConf, nil

@ -111,7 +111,7 @@ func (rs *inmemRepoService) GetRepoByChartURL(URL string) (IRepo, error) {
}
if found == nil {
return nil, fmt.Errorf("No repository for url %s", URL)
return nil, fmt.Errorf("No repository found for chart url: %s", URL)
}
return found, nil

Loading…
Cancel
Save