List HelmChart for GitRepository change

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals 2020-11-26 18:03:04 +01:00
parent 3a3954fd8b
commit 254de30f6a
1 changed files with 1 additions and 1 deletions

View File

@ -808,7 +808,7 @@ func (r *HelmChartReconciler) requestsForHelmRepositoryChange(obj handler.MapObj
}
ctx := context.Background()
var list sourcev1.HelmRepositoryList
var list sourcev1.HelmChartList
if err := r.List(ctx, &list, client.MatchingFields{
sourcev1.SourceIndexKey: fmt.Sprintf("%s/%s", repo.Kind, repo.Name),
}); err != nil {