Skip to content

Commit

Permalink
Merge branch 'master' into fix/github-workflow-upload-logs-dir-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Nov 23, 2020
2 parents 24ea770 + abfd109 commit 28a9fcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/playground/playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,8 @@ func (p *Playground) bootCluster(ctx context.Context, env *environment.Environme

p.bootOptions = options

if options.pd.Num < 1 || options.tidb.Num < 1 || options.tikv.Num < 1 {
return fmt.Errorf("all components count must be great than 0 (tidb=%v, tikv=%v, pd=%v)",
options.tidb.Num, options.tikv.Num, options.pd.Num)
if options.pd.Num < 1 || options.tikv.Num < 1 {
return fmt.Errorf("all components count must be great than 0 (tikv=%v, pd=%v)", options.tikv.Num, options.pd.Num)
}

if options.version == "" {
Expand Down

0 comments on commit 28a9fcd

Please sign in to comment.