Fixes hard-coded linux based file-separator

Fixes https://github.com/kubernetes/helm/issues/2254
pull/2255/head
Sushil Kumar 8 years ago
parent 9856c23459
commit 84fc5b776f

@ -56,8 +56,8 @@ func (h Home) Cache() string {
// CacheIndex returns the path to an index for the given named repository. // CacheIndex returns the path to an index for the given named repository.
func (h Home) CacheIndex(name string) string { func (h Home) CacheIndex(name string) string {
target := fmt.Sprintf("repository/cache/%s-index.yaml", name) target := fmt.Sprintf("%s-index.yaml", name)
return h.Path(target) return h.Path("repository", "cache", target)
} }
// Starters returns the path to the Helm starter packs. // Starters returns the path to the Helm starter packs.

Loading…
Cancel
Save