@@ -27,20 +27,19 @@ func (r *Reconciler) NewRunner(state *tasks.ReconcileContext, reporter task.Task
2727 common .TaskTrack [scope.ResourceManager ](state , r .Tracker ),
2828 task .IfBreak (common.CondObjectHasBeenDeleted [scope.ResourceManager ](state )),
2929
30+ common .TaskContextCluster [scope.ResourceManager ](state , r .Client ),
31+ task .IfBreak (common .CondClusterIsPaused (state )),
32+ task .IfBreak (common .CondClusterIsDeleting (state ),
33+ common .TaskInstanceFinalizerDel [scope.ResourceManager ](state , r .Client , common .DefaultInstanceSubresourceLister ),
34+ ),
35+ task .IfBreak (common .CondClusterPDAddrIsNotRegistered (state )),
3036 task .IfBreak (common.CondObjectIsDeleting [scope.ResourceManager ](state ),
3137 common .TaskInstanceFinalizerDel [scope.ResourceManager ](state , r .Client , common .DefaultInstanceSubresourceLister ),
3238 common.TaskInstanceConditionSynced [scope.ResourceManager ](state ),
3339 common.TaskInstanceConditionReady [scope.ResourceManager ](state ),
3440 common.TaskInstanceConditionRunning [scope.ResourceManager ](state ),
3541 common .TaskStatusPersister [scope.ResourceManager ](state , r .Client ),
3642 ),
37-
38- common .TaskContextCluster [scope.ResourceManager ](state , r .Client ),
39- task .IfBreak (common .CondClusterIsPaused (state )),
40- task .IfBreak (common .CondClusterIsDeleting (state ),
41- common .TaskInstanceFinalizerDel [scope.ResourceManager ](state , r .Client , common .DefaultInstanceSubresourceLister ),
42- ),
43- task .IfBreak (common .CondClusterPDAddrIsNotRegistered (state )),
4443 common .TaskFinalizerAdd [scope.ResourceManager ](state , r .Client ),
4544
4645 common .TaskContextPod [scope.ResourceManager ](state , r .Client ),
0 commit comments