Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan Siryk authored and Bohdan Siryk committed Nov 8, 2023
1 parent 7a6135a commit 03f2909
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/clusterresources/nodereload_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ type NodeReloadReconciler struct {
Scheme *runtime.Scheme
API instaclustr.API
EventRecorder record.EventRecorder
//
}

const (
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 03f2909

Please sign in to comment.