diff --git a/cmd/helm/init.go b/cmd/helm/init.go index cc70c45ba..e3c646d3d 100644 --- a/cmd/helm/init.go +++ b/cmd/helm/init.go @@ -335,6 +335,8 @@ func initStableRepo(cacheFile string, skipRefresh bool) (*repo.Entry, error) { return nil, fmt.Errorf("Looks like %q is not a valid chart repository or cannot be reached: %s", stableRepositoryURL, err.Error()) } + fmt.Fprintf(out, "Adding %s repo with URL: %s \n", stableRepository, stableRepositoryURL) + return &c, nil } @@ -351,6 +353,8 @@ func initLocalRepo(indexFile, cacheFile string) (*repo.Entry, error) { return nil, fmt.Errorf("%s must be a file, not a directory", indexFile) } + fmt.Fprintf(out, "Adding %s repo with URL: %s \n", localRepository, localRepositoryURL) + return &repo.Entry{ Name: localRepository, URL: localRepositoryURL,