Skip to content

Commit

Permalink
playground: set tiproxy addr without schema (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhebox authored Jan 31, 2024
1 parent c72f4e0 commit 79c584f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/playground/instance/tiproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (c *TiProxy) MetricAddr() (r MetricAddr) {

// Start implements Instance interface.
func (c *TiProxy) Start(ctx context.Context, version utils.Version) error {
endpoints := pdEndpoints(c.pds, true)
endpoints := pdEndpoints(c.pds, false)

configPath := filepath.Join(c.Dir, "config", "proxy.toml")
dir := filepath.Dir(configPath)
Expand Down

0 comments on commit 79c584f

Please sign in to comment.