From 71cc0cc49e1ffa084892e5119ef24251c5031bc3 Mon Sep 17 00:00:00 2001 From: HunDunDM Date: Wed, 28 Jul 2021 18:33:35 +0800 Subject: [PATCH] fix config type Signed-off-by: HunDunDM --- server/schedulers/hot_region_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/schedulers/hot_region_config.go b/server/schedulers/hot_region_config.go index 60edbb9fd454..27346abf486e 100644 --- a/server/schedulers/hot_region_config.go +++ b/server/schedulers/hot_region_config.go @@ -81,7 +81,7 @@ type hotRegionSchedulerConfig struct { WritePriorities []string `json:"write-priorities"` // Separately control whether to start hotspot scheduling for TiFlash - EnableForTiFlash bool `json:"enable-for-tiflash"` + EnableForTiFlash bool `json:"enable-for-tiflash,string"` } func (conf *hotRegionSchedulerConfig) EncodeConfig() ([]byte, error) {