Skip to content

Commit

Permalink
improve heartbeat bench cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Jan 16, 2024
1 parent 91bca92 commit 15cddc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/pd-heartbeat-bench/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ func NewConfig() *Config {
fs := cfg.flagSet
fs.ParseErrorsWhitelist.UnknownFlags = true
fs.StringVar(&cfg.configFile, "config", "", "config file")
fs.StringVar(&cfg.PDAddr, "pd", "127.0.0.1:2379", "pd address")
fs.StringVar(&cfg.PDAddr, "pd-endpoints", "127.0.0.1:2379", "pd address")
fs.StringVar(&cfg.Log.File.Filename, "log-file", "", "log file path")
fs.StringVar(&cfg.StatusAddr, "status-addr", "127.0.0.1:20180", "status address")

return cfg
Expand Down

0 comments on commit 15cddc3

Please sign in to comment.