From 03f290933308af3d2852943ad85f955401581a26 Mon Sep 17 00:00:00 2001 From: Bohdan Siryk Date: Wed, 8 Nov 2023 10:55:10 +0200 Subject: [PATCH] dev --- controllers/clusterresources/nodereload_controller.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/clusterresources/nodereload_controller.go b/controllers/clusterresources/nodereload_controller.go index 7a8a3d3e2..41939f4a5 100644 --- a/controllers/clusterresources/nodereload_controller.go +++ b/controllers/clusterresources/nodereload_controller.go @@ -44,6 +44,7 @@ type NodeReloadReconciler struct { Scheme *runtime.Scheme API instaclustr.API EventRecorder record.EventRecorder + // } const ( @@ -154,6 +155,8 @@ func (r *NodeReloadReconciler) Reconcile(ctx context.Context, req ctrl.Request) return reconcile.Result{}, err } + patch = nrs.NewPatch() + nrs.Status.CurrentOperationStatus = &v1beta1.Operation{ OperationID: nodeReloadStatus.OperationID, TimeCreated: nodeReloadStatus.TimeCreated,