diff --git a/pkg/helm/helmpath/helmhome.go b/pkg/helm/helmpath/helmhome.go index 3063d58761e778093003490b0542c62640a94d13..d3023dcba0f07c525f8526cddad5783e585d5430 100644 --- a/pkg/helm/helmpath/helmhome.go +++ b/pkg/helm/helmpath/helmhome.go @@ -56,8 +56,8 @@ func (h Home) Cache() string { // CacheIndex returns the path to an index for the given named repository. func (h Home) CacheIndex(name string) string { - target := fmt.Sprintf("repository/cache/%s-index.yaml", name) - return h.Path(target) + target := fmt.Sprintf("%s-index.yaml", name) + return h.Path("repository", "cache", target) } // Starters returns the path to the Helm starter packs.