Skip to content

fix(ruler): Return StatusBadRequest on multiple org IDs (backport k257) - #17928

Merged
periklis merged 1 commit into
k257from
backport-17850-to-k257
Jun 2, 2025
Merged

fix(ruler): Return StatusBadRequest on multiple org IDs (backport k257)#17928
periklis merged 1 commit into
k257from
backport-17850-to-k257

Conversation

@loki-gh-app

@loki-gh-app loki-gh-app Bot commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

Backport f7e47f0 from #17850


What this PR does / why we need it:
This pull request provides a small fix to return BadRequest as the status code when a client if sending multiple org ids to the ruler API.

Which issue(s) this PR fixes:
Fixes #grafana/loki-private/issues/1335

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR
@loki-gh-app
loki-gh-app Bot requested a review from a team as a code owner June 2, 2025 08:02
@loki-gh-app loki-gh-app Bot added backport size/L type/bug Somehing is not working as expected labels Jun 2, 2025
@loki-gh-app
loki-gh-app Bot requested a review from periklis June 2, 2025 08:02
@periklis
periklis merged commit 1a35476 into k257 Jun 2, 2025
@periklis
periklis deleted the backport-17850-to-k257 branch June 2, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/L type/bug Somehing is not working as expected

1 participant