remove need for home.CacheRelativeIndex

pull/3648/head
Christopher A. Stelma 8 years ago
parent 10e186cf34
commit 77a467cd46

@ -386,7 +386,7 @@ func ensureDefaultRepos(home helmpath.Home, out io.Writer, skipRefresh bool) err
if err != nil {
return err
}
lr, err := initLocalRepo(home.LocalRepository(localRepositoryIndexFile), home.CacheRelativeIndex("local"), out, home)
lr, err := initLocalRepo(home.LocalRepository(localRepositoryIndexFile), filepath.Rel(home.Cache(), home.CacheIndex("local")), out, home)
if err != nil {
return err
}

Loading…
Cancel
Save