Skip to content

Commit

Permalink
playground: fix scale-out cdc command (#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
lonng authored Jun 21, 2022
1 parent 90dae23 commit 8117e9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/playground/playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@ func (p *Playground) commandHandler(w http.ResponseWriter, r *http.Request) {
return
}

// Mapping command line component id to internal spec component id.
if cmd.ComponentID == ticdc {
cmd.ComponentID = spec.ComponentCDC
}

err = p.handleCommand(cmd, w)
if err != nil {
w.WriteHeader(403)
Expand Down

1 comment on commit 8117e9a

@Giangpro89
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nếu

Please sign in to comment.