Skip to content

Conversation

@rgroothuijsen
Copy link
Contributor

What this PR does / why we need it:

This adds an extra nil check to verify the Azure blob storage client has received a service principal token before trying to do anything with said token. This has led to crashes if use_federated_token is enabled and an error message is returned instead of a token.

Which issue(s) this PR fixes:
Fixes #9952

@rgroothuijsen rgroothuijsen requested a review from a team as a code owner June 11, 2024 15:06
@rgroothuijsen rgroothuijsen changed the title Return error if Azure returns no service principal token Jun 11, 2024
@chaudum chaudum changed the title fix: return error if Azure returns no service principal token Nov 29, 2024
@chaudum
Copy link
Contributor

chaudum commented Nov 29, 2024

@rgroothuijsen Do you mind updating the PR to resolve the merge conflict?

@rgroothuijsen rgroothuijsen requested a review from chaudum December 3, 2024 18:30
@chaudum chaudum merged commit e98a86b into grafana:main Dec 13, 2024
58 checks passed
mveitas pushed a commit to mveitas/loki that referenced this pull request Jan 6, 2025
…ken (grafana#13195)

This adds an extra nil check to verify the Azure blob storage client has received a service principal token before trying to do anything with said token. This has led to crashes if `use_federated_token is enabled` and an error message is returned instead of a token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants