Skip to content

Commit

Permalink
Merge pull request #28 from Kuadrant/fix_missing_check
Browse files Browse the repository at this point in the history
FIX: add forgotten if check
  • Loading branch information
Boomatang authored Sep 9, 2024
2 parents ece88ae + c1b5f63 commit e9eb6e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ func (c *Controller) delete(obj Object) {

func (c *Controller) propagate(resourceEvents []ResourceEvent) {
topology, err := c.topology.Build(c.cache.List())
c.logger.Error(err, "error building topology")
if err != nil {
c.logger.Error(err, "error building topology")
}
c.reconcile(LoggerIntoContext(context.TODO(), c.logger), resourceEvents, topology, err)
}

Expand Down

0 comments on commit e9eb6e5

Please sign in to comment.