Skip to content

Commit

Permalink
fix: incorrect op for newWorkConn (fatedier#3244)
Browse files Browse the repository at this point in the history
(cherry picked from commit 53b6bbf)
  • Loading branch information
Craig O'Donnell authored Jan 9, 2023
1 parent 804f291 commit b03f0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugin/server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func (m *Manager) NewWorkConn(content *NewWorkConnContent) (*NewWorkConnContent,
ctx = NewReqidContext(ctx, reqid)

for _, p := range m.newWorkConnPlugins {
res, retContent, err = p.Handle(ctx, OpPing, *content)
res, retContent, err = p.Handle(ctx, OpNewWorkConn, *content)
if err != nil {
xl.Warn("send NewWorkConn request to plugin [%s] error: %v", p.Name(), err)
return nil, errors.New("send NewWorkConn request to plugin error")
Expand Down

0 comments on commit b03f0ad

Please sign in to comment.