modified the init functions to use relativeindex instead of cacheindex. everything seems to be working

pull/2862/head
Ryan Payton 8 years ago
parent 5a5144d4d7
commit 3e17e2a672

@ -295,11 +295,11 @@ func ensureDefaultRepos(home helmpath.Home, out io.Writer, skipRefresh bool) err
if fi, err := os.Stat(repoFile); err != nil { if fi, err := os.Stat(repoFile); err != nil {
fmt.Fprintf(out, "Creating %s \n", repoFile) fmt.Fprintf(out, "Creating %s \n", repoFile)
f := repo.NewRepoFile() f := repo.NewRepoFile()
sr, err := initStableRepo(home.CacheIndex(stableRepository), skipRefresh, home) sr, err := initStableRepo(home.RelativeIndex(stableRepository), skipRefresh, home)
if err != nil { if err != nil {
return err return err
} }
lr, err := initLocalRepo(home.LocalRepository(localRepositoryIndexFile), home.CacheIndex("local")) lr, err := initLocalRepo(home.LocalRepository(localRepositoryIndexFile), home.RelativeIndex("local"))
if err != nil { if err != nil {
return err return err
} }

Loading…
Cancel
Save