diff --git a/cmd/manager/manager/expander.go b/cmd/manager/manager/expander.go index 97849f6f9..988ab7d60 100644 --- a/cmd/manager/manager/expander.go +++ b/cmd/manager/manager/expander.go @@ -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 diff --git a/pkg/repo/inmem_repo_service.go b/pkg/repo/inmem_repo_service.go index 3865f8947..1df1162c6 100644 --- a/pkg/repo/inmem_repo_service.go +++ b/pkg/repo/inmem_repo_service.go @@ -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