Skip to content

Commit

Permalink
Merge pull request #447 from fluxcd/event-revision-annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored Mar 23, 2022
2 parents d324eb4 + 87ffcbc commit 4b19f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/helmrelease_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,10 +737,10 @@ func (r *HelmReleaseReconciler) requestsForHelmChartChange(o client.Object) []re
}

// event emits a Kubernetes event and forwards the event to notification controller if configured.
func (r *HelmReleaseReconciler) event(ctx context.Context, hr v2.HelmRelease, revision, severity, msg string) {
func (r *HelmReleaseReconciler) event(_ context.Context, hr v2.HelmRelease, revision, severity, msg string) {
var meta map[string]string
if revision != "" {
meta = map[string]string{"revision": revision}
meta = map[string]string{v2.GroupVersion.Group + "/revision": revision}
}
eventtype := "Normal"
if severity == events.EventSeverityError {
Expand Down

0 comments on commit 4b19f98

Please sign in to comment.