From 79c584f27d986d97b281d35dec8d665ebd883a49 Mon Sep 17 00:00:00 2001 From: xhe Date: Wed, 31 Jan 2024 16:00:24 +0800 Subject: [PATCH] playground: set tiproxy addr without schema (#2368) --- components/playground/instance/tiproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/playground/instance/tiproxy.go b/components/playground/instance/tiproxy.go index 94a1e374d8..b01c13bf38 100644 --- a/components/playground/instance/tiproxy.go +++ b/components/playground/instance/tiproxy.go @@ -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)