diff --git a/cmd/helm/init.go b/cmd/helm/init.go index 163653692..8efc6154e 100644 --- a/cmd/helm/init.go +++ b/cmd/helm/init.go @@ -336,6 +336,8 @@ func initStableRepo(cacheFile string, out io.Writer, skipRefresh bool) (*repo.En 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 } @@ -353,6 +355,8 @@ func initLocalRepo(indexFile, cacheFile string, out io.Writer) (*repo.Entry, err 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,