ref(helm): make repo not found error more clear

This addresses issue #563
pull/564/head
Michelle Noorali 9 years ago
parent 0af0856efa
commit 3b9484a026

@ -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