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

Remove github.com/prometheus/prometheus dependency #242

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

ortuman
Copy link
Contributor

@ortuman ortuman commented Dec 14, 2022

Signed-off-by: Miguel Ángel Ortuño ortuman@gmail.com

After merging #239 we introduced a github.com/prometheus/prometheus dependency.

@ go.mod 👉 https://github.com/grafana/dskit/blob/main/go.mod#L28

Apart from being an old version, this is also causing some issues when validating CI in enterprise repositories.

The purpose of this PR is to get rid of it.

Signed-off-by: Miguel Ángel Ortuño <ortuman@gmail.com>
@ortuman ortuman marked this pull request as ready for review December 14, 2022 13:23
@ortuman ortuman merged commit 7cb5190 into main Dec 14, 2022
@ortuman ortuman deleted the ortuman/remove-gate-prometheus-dep branch December 14, 2022 14:02
@@ -159,3 +158,35 @@ func (g *blockingGate) Done() {
panic("gate.Done: more operations done than started")
}
}
Copy link
Contributor

@56quarters 56quarters Dec 14, 2022

Choose a reason for hiding this comment

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

Why was this introduced? This does exactly the same thing as the existing blocking gate

bboreham pushed a commit that referenced this pull request Dec 15, 2022
Signed-off-by: Miguel Ángel Ortuño <ortuman@gmail.com>
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