Skip to content

Commit

Permalink
fix default value of separateSlowLog (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangQD authored Mar 25, 2020
1 parent 5249183 commit f4acf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/pingcap/v1alpha1/tidbcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (tidb *TiDBSpec) IsAdvertiseAddressEnabled() bool {
func (tidb *TiDBSpec) ShouldSeparateSlowLog() bool {
separateSlowLog := tidb.SeparateSlowLog
if separateSlowLog == nil {
return defaultEnableTLSClient
return defaultSeparateSlowLog
}
return *separateSlowLog
}
Expand Down

0 comments on commit f4acf0e

Please sign in to comment.