From 92f2c30ea26bc430596e6f1549efc1897ea210f1 Mon Sep 17 00:00:00 2001 From: Yashash H L Date: Wed, 14 Aug 2024 09:33:58 +0530 Subject: [PATCH] chore: update last updated time for mvtx (#1939) Signed-off-by: Yashash H L --- pkg/reconciler/monovertex/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/reconciler/monovertex/controller.go b/pkg/reconciler/monovertex/controller.go index 3688d87b60..20246b8f9c 100644 --- a/pkg/reconciler/monovertex/controller.go +++ b/pkg/reconciler/monovertex/controller.go @@ -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