Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use model.Duration for -compactor.blocks-retention-period. #4027

Merged
merged 2 commits into from
Mar 31, 2021

Conversation

pstibrany
Copy link
Contributor

@pstibrany pstibrany commented Mar 30, 2021

What this PR does: This PR changes type of -compactor.blocks-retention-period to model.Duration to support extended duration format.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Peter Štibraný <[email protected]>
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@pstibrany pstibrany merged commit 5ae42d0 into cortexproject:master Mar 31, 2021
@roidelapluie
Copy link
Contributor

Nice to see the new json unmarshalling used :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants