Skip to content

Commit

Permalink
playground: fix default tiproxy version (#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar authored Apr 10, 2024
1 parent 60c0cb3 commit dd33bc0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/playground/playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -883,16 +883,14 @@ func (p *Playground) waitAllTiFlashUp() {
}

func (p *Playground) bindVersion(comp string, version string) (bindVersion string) {
bindVersion = version
switch comp {
case spec.ComponentTiKVCDC:
bindVersion = p.bootOptions.TiKVCDC.Version
case spec.ComponentTiProxy:
bindVersion = p.bootOptions.TiProxy.Version
default:
}
if bindVersion == "" {
bindVersion = version
}
return
}

Expand Down

0 comments on commit dd33bc0

Please sign in to comment.