Skip to content

Commit

Permalink
fix: websocket event listener (#2745)
Browse files Browse the repository at this point in the history
Co-authored-by: 李霖 <lee@lilindeMacBook-Pro.local>
  • Loading branch information
liewhite and 李霖 committed Mar 23, 2023
1 parent 963081e commit a8e8cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/executortype/poolmgr/gpm.go
Expand Up @@ -711,7 +711,7 @@ func (gpm *GenericPoolManager) NoActiveConnectionEventChecker(ctx context.Contex
defer close(stopper)

var wg wait.Group
for _, informer := range utils.GetInformerEventChecker(ctx, kubeClient, "WsConnectionStarted") {
for _, informer := range utils.GetInformerEventChecker(ctx, kubeClient, "NoActiveConnections") {
informer.AddEventHandler(k8sCache.ResourceEventHandlerFuncs{
AddFunc: func(obj interface{}) {
mObj := obj.(metav1.Object)
Expand Down

0 comments on commit a8e8cfb

Please sign in to comment.