Skip to content

Commit

Permalink
Update controllers/btpoperator_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jarosław Pieszka <jaroslaw.pieszka@sap.com>
  • Loading branch information
MarekMichali and jaroslaw-pieszka authored Dec 18, 2024
1 parent fd296d8 commit 51ebed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/btpoperator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ func (r *BtpOperatorReconciler) watchDeploymentPredicates() predicate.Funcs {
UpdateFunc: func(e event.UpdateEvent) bool {
newObj := e.ObjectNew.(*appsv1.Deployment)
oldObj := e.ObjectOld.(*appsv1.Deployment)
if newObj.Name != DeploymentName || newObj.Namespace != ChartNamespace {
if !(newObj.Name == DeploymentName && newObj.Namespace == ChartNamespace) {
return false
}
var newAvailableConditionStatus, newProgressingConditionStatus string
Expand Down

0 comments on commit 51ebed7

Please sign in to comment.