Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Ensure git chart source before comparing mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed May 9, 2019
1 parent d375017 commit b00fe6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integrations/helm/chartsync/chartsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ func (chs *ChartChangeSync) getCustomResourcesForMirror(mirror string) ([]fluxv1
}

for _, fhr := range list {
if fhr.Spec.GitChartSource == nil {
continue
}
if mirror != mirrorName(fhr.Spec.GitChartSource) {
continue
}
Expand Down

0 comments on commit b00fe6e

Please sign in to comment.