Skip to content

Commit

Permalink
PR feedback: corrected flag naming, made the flag hidden by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fhalim committed Sep 5, 2019
1 parent ede0620 commit e215f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func registerReceive(m map[string]setupFunc, app *kingpin.Application, name stri

replicationFactor := cmd.Flag("receive.replication-factor", "How many times to replicate incoming write requests.").Default("1").Uint64()

tsdbBlockDuration := modelDuration(cmd.Flag("tsdb.blockduration", "Duration for local TSDB blocks").Default("2h"))
tsdbBlockDuration := modelDuration(cmd.Flag("tsdb.block-duration", "Duration for local TSDB blocks").Default("2h").Hidden())

m[name] = func(g *run.Group, logger log.Logger, reg *prometheus.Registry, tracer opentracing.Tracer, _ bool) error {
lset, err := parseFlagLabels(*labelStrs)
Expand Down

0 comments on commit e215f07

Please sign in to comment.