Skip to content

Commit

Permalink
switch insights sdks to hashicorp/go-azure-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
catriona-m committed Apr 12, 2023
1 parent bf70a22 commit a70c224
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/services/monitor/monitor_action_group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -953,18 +953,13 @@ func flattenMonitorActionGroupWebHookReceiver(receivers *[]actiongroupsapis.Webh
if receivers != nil {
for _, receiver := range *receivers {
var useCommonAlert bool
var name, serviceUri string

name = receiver.Name
serviceUri = receiver.ServiceUri

if receiver.UseCommonAlertSchema != nil {
useCommonAlert = *receiver.UseCommonAlertSchema
}

result = append(result, map[string]interface{}{
"name": name,
"service_uri": serviceUri,
"name": receiver.Name,
"service_uri": receiver.ServiceUri,
"use_common_alert_schema": useCommonAlert,
"aad_auth": flattenMonitorActionGroupSecureWebHookReceiver(receiver),
})
Expand Down

0 comments on commit a70c224

Please sign in to comment.