Skip to content

Commit 438b082

Browse files
authored
Merge branch 'master' into ignore-config
2 parents caf8a23 + de5991d commit 438b082

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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 {

doc/user/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
For detailed documentation, see the manual which starts with an [overview](overview.md).
66

7-
To get started with TiDB using TiUP, see the [TiDB quick start guide](https://docs.pingcap.com/tidb/stable/quick-start-with-tidb). To deploy TiDB using TiUP in a production-like environment, see the [TiDB deploymeny guide](https://docs.pingcap.com/tidb/stable/production-deployment-using-tiup).
7+
To get started with TiDB using TiUP, see the [TiDB quick start guide](https://docs.pingcap.com/tidb/stable/quick-start-with-tidb). To deploy TiDB using TiUP in a production-like environment, see the [TiDB deployment guide](https://docs.pingcap.com/tidb/stable/production-deployment-using-tiup).
88

99
## Installation
1010

0 commit comments

Comments
 (0)