Skip to content

Commit

Permalink
Update promcfg.go
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
slashpai and simonpasquier committed May 16, 2024
1 parent 3bea446 commit a7f0d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prometheus/promcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ func (cg *ConfigGenerator) generateRemoteWriteConfig(

if spec.AzureAD.SDK != nil {
azureAd = cg.WithMinimumVersion("2.52.0").AppendMapItem(azureAd, "sdk", yaml.MapSlice{
{Key: "tenant_id", Value: spec.AzureAD.SDK.TenantID},
{Key: "tenant_id", Value: ptr.Deref(spec.AzureAD.SDK.TenantID, "")},
})
}

Expand Down

0 comments on commit a7f0d26

Please sign in to comment.