Skip to content

Commit

Permalink
Merge pull request #133 from MrHohn/runtimeinfo-event
Browse files Browse the repository at this point in the history
Emit event on RuntimeInfo error
  • Loading branch information
nicksardo authored Feb 9, 2018
2 parents f992df2 + d4be96f commit f43e507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ func (lbc *LoadBalancerController) sync(key string) (err error) {
}
lb, err := lbc.toRuntimeInfo(ing)
if err != nil {
lbc.ctx.Recorder(ing.Namespace).Eventf(ing, apiv1.EventTypeWarning, "Ingress", err.Error())
return err
}
lbs := []*loadbalancers.L7RuntimeInfo{lb}
Expand Down

0 comments on commit f43e507

Please sign in to comment.