Skip to content

Commit 1ef3f80

Browse files
committed
Remove goroutine to execute OnReconcile
1 parent 08ae889 commit 1ef3f80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ func (r *SubscriberReconciler) Reconcile(ctx context.Context, req ctrl.Request)
5555
}
5656

5757
if r.OnReconcile != nil {
58-
go func() {
59-
r.OnReconcile(ctx, &workspace)
60-
}()
58+
r.OnReconcile(ctx, &workspace)
6159
}
6260

6361
return ctrl.Result{}, nil

0 commit comments

Comments
 (0)