Skip to content

Commit cefc61e

Browse files
committed
test: always send events
1 parent ac1c86b commit cefc61e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/ws-manager-mk2/controllers/subscriber_controller.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ func (r *SubscriberReconciler) Reconcile(ctx context.Context, req ctrl.Request)
6161
workspace.Status.Conditions = []metav1.Condition{}
6262
}
6363

64-
if workspace.IsConditionTrue(workspacev1.WorkspaceConditionPodRejected) {
65-
// In this situation, we are about to re-create the pod. We don't want clients to see all the "stopping, stopped, starting" chatter, so we hide it here.
66-
// TODO(gpl) Is this a sane approach?
67-
return ctrl.Result{}, nil
68-
}
64+
// if workspace.IsConditionTrue(workspacev1.WorkspaceConditionPodRejected) {
65+
// // In this situation, we are about to re-create the pod. We don't want clients to see all the "stopping, stopped, starting" chatter, so we hide it here.
66+
// // TODO(gpl) Is this a sane approach?
67+
// return ctrl.Result{}, nil
68+
// }
6969

7070
if r.OnReconcile != nil {
7171
r.OnReconcile(ctx, &workspace)

0 commit comments

Comments
 (0)