Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmorley committed Oct 12, 2021
1 parent e55f0ce commit 0986fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/services/eventgrid/event_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -1274,11 +1274,11 @@ func flattenEventGridEventSubscriptionEventhubEndpoint(input *eventgrid.EventHub
}

func flattenDeliveryProperties(d *pluginsdk.ResourceData, input *[]eventgrid.BasicDeliveryAttributeMapping) []interface{} {
deliveryProperties := make([]interface{}, len(*input))
if input == nil {
return deliveryProperties
return nil
}

deliveryProperties := make([]interface{}, len(*input))
for i, element := range *input {
attributeMapping := make(map[string]interface{})

Expand Down

0 comments on commit 0986fe8

Please sign in to comment.