Skip to content

Commit 8e544c3

Browse files
committed
remove unecessay code
Signed-off-by: Britania Rodriguez Reyes <[email protected]>
1 parent 43a5ab6 commit 8e544c3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/controllers/updaterun/controller.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ func (r *Reconciler) Reconcile(ctx context.Context, req runtime.Request) (runtim
162162
switch state {
163163
case placementv1beta1.StateInitialize:
164164
klog.V(2).InfoS("The updateRun is initialized but not executed, waiting to execute", "state", state, "updateRun", runObjRef)
165-
if updateErr := r.recordUpdateRunStatus(ctx, updateRun); updateErr != nil {
166-
return runtime.Result{}, updateErr
167-
}
168165
case placementv1beta1.StateRun:
169166
// Execute the updateRun.
170167
klog.InfoS("Continue to execute the updateRun", "updatingStageIndex", updatingStageIndex, "updateRun", runObjRef)

0 commit comments

Comments
 (0)