Skip to content

Commit

Permalink
chore: update last updated time for mvtx (#1939)
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 authored Aug 14, 2024
1 parent e1fba01 commit 92f2c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/monovertex/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (mr *monoVertexReconciler) Reconcile(ctx context.Context, req ctrl.Request)
if err != nil {
log.Errorw("Reconcile error", zap.Error(err))
}

monoVtxCopy.Status.LastUpdated = metav1.Now()
if !equality.Semantic.DeepEqual(monoVtx.Status, monoVtxCopy.Status) {
if err := mr.client.Status().Update(ctx, monoVtxCopy); err != nil {
return reconcile.Result{}, err
Expand Down

0 comments on commit 92f2c30

Please sign in to comment.