From de5991dc8cfff814dd3141a88407820a2f97a5a4 Mon Sep 17 00:00:00 2001 From: Ping Yu Date: Thu, 14 Jul 2022 17:31:06 +0800 Subject: [PATCH] playground: fix ineffectiveness of ticdc.config (#1978) --- components/playground/instance/ticdc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/playground/instance/ticdc.go b/components/playground/instance/ticdc.go index da2d683913..369047b177 100644 --- a/components/playground/instance/ticdc.go +++ b/components/playground/instance/ticdc.go @@ -63,6 +63,9 @@ func (c *TiCDC) Start(ctx context.Context, version utils.Version) error { } clusterVersion := string(version) if tidbver.TiCDCSupportConfigFile(clusterVersion) { + if c.ConfigPath != "" { + args = append(args, fmt.Sprintf("--config=%s", c.ConfigPath)) + } if tidbver.TiCDCSupportDataDir(clusterVersion) { args = append(args, fmt.Sprintf("--data-dir=%s", filepath.Join(c.Dir, "data"))) } else {