Skip to content

Commit

Permalink
controller: add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
talal committed Sep 18, 2020
1 parent d95e910 commit ec5324f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ func (c *Controller) syncHandler(key string) error {
err = c.cleanUpOrphanedAbsentAlertsNamespace(name, namespace)
if err == nil {
c.metrics.SuccessfulPrometheusRuleReconcileTime.DeleteLabelValues(namespace, name)
return nil
}
default:
// Requeue object for later processing.
Expand Down

0 comments on commit ec5324f

Please sign in to comment.