Skip to content

Commit

Permalink
Add doc:default tag to ring lifecycler network interfaces field (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci authored Feb 11, 2022
1 parent c3b4825 commit 9001480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring/lifecycler.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type LifecyclerConfig struct {
ObservePeriod time.Duration `yaml:"observe_period" category:"advanced"`
JoinAfter time.Duration `yaml:"join_after" category:"advanced"`
MinReadyDuration time.Duration `yaml:"min_ready_duration" category:"advanced"`
InfNames []string `yaml:"interface_names"`
InfNames []string `yaml:"interface_names" doc:"default=[<private network interfaces>]"`

// FinalSleep's default value can be overridden by
// setting it before calling RegisterFlags or RegisterFlagsWithPrefix.
Expand Down

0 comments on commit 9001480

Please sign in to comment.