Skip to content

Commit

Permalink
Merge f713108 into 8186387
Browse files Browse the repository at this point in the history
  • Loading branch information
tabokie authored Jul 6, 2021
2 parents 8186387 + f713108 commit 57eb263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cluster/spec/server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ func checkConfig(ctx context.Context, e ctxt.Executor, componentName, clusterVer
return nil
}

// Hack tikv --pd flag
extra := ""
if componentName == ComponentTiKV {
extra = `--pd=""`
// Pass in an empty pd address and the correct data dir
extra = fmt.Sprintf(`--pd "" --data-dir "%s"`, paths.Data[0])
}
cmd = fmt.Sprintf("%s --config-check --config=%s %s", binPath, configPath, extra)
}
Expand Down

0 comments on commit 57eb263

Please sign in to comment.