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