Skip to content

Commit

Permalink
Fix for reporting minion events
Browse files Browse the repository at this point in the history
  • Loading branch information
ampant committed Aug 19, 2019
1 parent e2337bb commit 75a2b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/k8s/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ func (lbc *LoadBalancerController) syncIng(task task) {
}
lbc.recorder.Eventf(ing, eventType, eventTitle, "Configuration for %v(Master) was added or updated %s", key, eventWarningMessage)
for _, minion := range mergeableIngExs.Minions {
lbc.recorder.Eventf(ing, eventType, eventTitle, "Configuration for %v/%v(Minion) was added or updated %s", minion.Ingress.Namespace, minion.Ingress.Name, eventWarningMessage)
lbc.recorder.Eventf(minion.Ingress, eventType, eventTitle, "Configuration for %v/%v(Minion) was added or updated %s", minion.Ingress.Namespace, minion.Ingress.Name, eventWarningMessage)
}

if lbc.reportStatusEnabled() {
Expand Down

0 comments on commit 75a2b3b

Please sign in to comment.