Skip to content

Commit

Permalink
fix config type
Browse files Browse the repository at this point in the history
Signed-off-by: HunDunDM <[email protected]>
  • Loading branch information
HunDunDM committed Jul 28, 2021
1 parent a632247 commit 71cc0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/schedulers/hot_region_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 71cc0cc

Please sign in to comment.