Skip to content

Commit

Permalink
Fix space in yaml template
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang committed Jan 10, 2024
1 parent e3e8d99 commit 9b9a153
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/cluster/spec/tiflash.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,11 @@ func (i *TiFlashInstance) initTiFlashConfig(ctx context.Context, version string,
extraConfig = "#"
} else {
extraConfig = fmt.Sprintf(`
application.runAsDaemon: true
display_name: "TiFlash"
default_profile: "default"
mark_cache_size: 5368709120
tmp_path: "%s/tmp"
application.runAsDaemon: true
display_name: "TiFlash"
default_profile: "default"
mark_cache_size: 5368709120
tmp_path: "%s/tmp"
`, paths.Data[0])
}

Expand Down Expand Up @@ -572,7 +572,7 @@ server_configs:
raft.pd_addr: "%[9]s"
%[11]s
%[12]s
%[13]s
%[13]s
`,
pathConfig,
paths.Log,
Expand Down

0 comments on commit 9b9a153

Please sign in to comment.