Added more output when `helm init`.

Add more info for the repos that will be added when `helm init`.
pull/2811/head
Guangya Liu 8 years ago
parent 33ad8ca5b0
commit a98c42e814

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

Loading…
Cancel
Save