Commit 84fc5b77 authored by Sushil Kumar's avatar Sushil Kumar

Fixes hard-coded linux based file-separator

Fixes https://github.com/kubernetes/helm/issues/2254
parent 9856c234
...@@ -56,8 +56,8 @@ func (h Home) Cache() string { ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment