Skip to content

Commit

Permalink
Merge branch 'master' into ignore-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Smityz authored Jul 14, 2022
2 parents caf8a23 + de5991d commit 438b082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/playground/instance/ticdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion doc/user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

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).
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).

## Installation

Expand Down

0 comments on commit 438b082

Please sign in to comment.