Skip to content

Commit

Permalink
lifecycler: classify additional parameters (#128)
Browse files Browse the repository at this point in the history
Address, Port and ID should be considered an advanced flag.
  • Loading branch information
simonswine authored Feb 10, 2022
1 parent ea22a8f commit 2934fa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ring/lifecycler.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ type LifecyclerConfig struct {
ReadinessCheckRingHealth bool `yaml:"readiness_check_ring_health" category:"advanced"`

// For testing, you can override the address and ID of this ingester
Addr string `yaml:"address" doc:"hidden"`
Port int `doc:"hidden"`
ID string `doc:"hidden"`
Addr string `yaml:"address" doc:"hidden" category:"advanced"`
Port int `doc:"hidden" category:"advanced"`
ID string `doc:"hidden" category:"advanced"`

// Injected internally
ListenPort int `yaml:"-"`
Expand Down

0 comments on commit 2934fa0

Please sign in to comment.