Skip to content

Commit

Permalink
increment prom counter even when only notifying on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgarr committed Jan 11, 2022
1 parent b94cf7f commit 55b4b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubernetes/watch_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ func (b *deploymentInformer) OnUpdate(old, new interface{}) {
log.Errorf(message)
sentry.CaptureMessage(message)
}
return
}
deploymentProcessedTotal.Inc()
return
}

// Get the DeploymentCondition and sort them based on time
Expand Down

0 comments on commit 55b4b80

Please sign in to comment.