Skip to content

Conversation

@lelenanam
Copy link
Contributor

lite uses both ingester.Config and distributor.Config. Both of them has IngesterClientConfig, so calling RegisterFlags on them triggers panic.
This fix ignores second call to RegisterFlags on IngesterClientConfig and then populates it manually

Was broken in 6191d41

Copy link
Contributor

@rndstr rndstr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM bar one comment

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could use a comment as to why we need to do this

lite uses both ingester.Config and distributor.Config. Both of them has IngesterClientConfig, so calling RegisterFlags on them triggers panic.
This fix ignores second call to RegisterFlags on IngesterClientConfig and then populates it manually.

Was broken in 6191d41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants