Skip to content

Commit fbe2708

Browse files
committed
Fix space in yaml template
1 parent e3e8d99 commit fbe2708

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/cluster/spec/tiflash.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -532,12 +532,12 @@ func (i *TiFlashInstance) initTiFlashConfig(ctx context.Context, version string,
532532
extraConfig = "#"
533533
} else {
534534
extraConfig = fmt.Sprintf(`
535-
application.runAsDaemon: true
536-
display_name: "TiFlash"
537-
default_profile: "default"
538-
mark_cache_size: 5368709120
539-
tmp_path: "%s/tmp"
540-
`, paths.Data[0])
535+
application.runAsDaemon: true
536+
display_name: "TiFlash"
537+
default_profile: "default"
538+
mark_cache_size: 5368709120
539+
tmp_path: "%s/tmp"
540+
`, paths.Data[0])
541541
}
542542

543543
// `cluster_manager` is removed since v6.0.0
@@ -548,7 +548,7 @@ func (i *TiFlashInstance) initTiFlashConfig(ctx context.Context, version string,
548548
flash.flash_cluster.master_ttl: 60
549549
flash.flash_cluster.refresh_interval: 20
550550
flash.flash_cluster.update_rule_interval: 5
551-
`, paths.Log, paths.Deploy)
551+
`, paths.Log, paths.Deploy)
552552
} else {
553553
clusterManagerConfig = "#"
554554
}
@@ -572,7 +572,7 @@ server_configs:
572572
raft.pd_addr: "%[9]s"
573573
%[11]s
574574
%[12]s
575-
%[13]s
575+
%[13]s
576576
`,
577577
pathConfig,
578578
paths.Log,

0 commit comments

Comments
 (0)