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,