Skip to content

Commit

Permalink
Add doc:default tag to ring lifecycler instance ID too (#140)
Browse files Browse the repository at this point in the history
* Add doc:default tag to ring lifecycler address too

Signed-off-by: Marco Pracucci <[email protected]>

* Fix ti

Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci authored Feb 11, 2022
1 parent 9001480 commit 19921f8
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 @@ -44,9 +44,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" category:"advanced"`
Port int `doc:"hidden" category:"advanced"`
ID string `doc:"hidden" category:"advanced"`
Addr string `yaml:"address" category:"advanced"`
Port int `category:"advanced"`
ID string `doc:"default=<hostname>" category:"advanced"`

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

0 comments on commit 19921f8

Please sign in to comment.