Skip to content

Commit

Permalink
fix wrong azure resource health filter query
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Oct 5, 2021
1 parent 699adef commit 23c2a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics_azurerm_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (m *MetricsCollectorAzureRmHealth) Collect(ctx context.Context, logger *log
client.Authorizer = AzureAuthorizer
client.ResponseInspector = azureResponseInspector(&subscription)

list, err := client.ListBySubscriptionIDComplete(ctx, *subscription.SubscriptionID, "")
list, err := client.ListBySubscriptionIDComplete(ctx, "", "")

if err != nil {
logger.Panic(err)
Expand Down

0 comments on commit 23c2a64

Please sign in to comment.