Skip to content

Commit

Permalink
azurerm_eventgrid_event_subscription - fix crash when flattening adva…
Browse files Browse the repository at this point in the history
…nced_filter
  • Loading branch information
mbfrahry committed Nov 26, 2024
1 parent 525ceef commit e8e8fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/eventgrid/event_subscription_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ func flattenRangeValues(inputKey *string, inputValues *[][]any) map[string]any {
values := make([]any, 0)
if inputValues != nil {
for _, item := range *inputValues {
values = append(values, item...)
values = append(values, item)

Check failure on line 796 in internal/services/eventgrid/event_subscription_funcs.go

View workflow job for this annotation

GitHub Actions / golint

pass []any as any to func append func([]any, ...any) []any (asasalint)
}
}

Expand Down

0 comments on commit e8e8fe8

Please sign in to comment.