diff --git a/cmd/helm/repo_add.go b/cmd/helm/repo_add.go index c82578a3f..7fb20d02d 100644 --- a/cmd/helm/repo_add.go +++ b/cmd/helm/repo_add.go @@ -87,7 +87,6 @@ func addRepository(name, url string, home helmpath.Home, certFile, keyFile, caFi } cif := home.RelativeIndex(name) - c := repo.Entry{ Name: name, Cache: cif, @@ -97,7 +96,6 @@ func addRepository(name, url string, home helmpath.Home, certFile, keyFile, caFi CAFile: caFile, } - r, err := repo.NewChartRepository(&c, getter.All(settings)) if err != nil { return err