Skip to content

Commit de5991d

Browse files
authored
playground: fix ineffectiveness of ticdc.config (#1978)
1 parent c492ceb commit de5991d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/playground/instance/ticdc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ func (c *TiCDC) Start(ctx context.Context, version utils.Version) error {
6363
}
6464
clusterVersion := string(version)
6565
if tidbver.TiCDCSupportConfigFile(clusterVersion) {
66+
if c.ConfigPath != "" {
67+
args = append(args, fmt.Sprintf("--config=%s", c.ConfigPath))
68+
}
6669
if tidbver.TiCDCSupportDataDir(clusterVersion) {
6770
args = append(args, fmt.Sprintf("--data-dir=%s", filepath.Join(c.Dir, "data")))
6871
} else {

0 commit comments

Comments
 (0)