Skip to content

Commit

Permalink
Fix bug with encoding path for groupings
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-abhinavpappu committed Sep 7, 2024
1 parent 386d685 commit c590156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observe/resource_monitor_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ func newMonitorV2DefinitionInput(data *schema.ResourceData) (defnInput *gql.Moni
}
if _, ok := data.GetOk("groupings"); ok {
groupings := make([]gql.MonitorV2ColumnInput, 0)
for _, i := range data.Get("groupings").([]interface{}) {
for i := range data.Get("groupings").([]interface{}) {
colInput, diags := newMonitorV2ColumnInput(fmt.Sprintf("groupings.%d.", i), data)
if diags.HasError() {
return nil, diags
Expand Down

0 comments on commit c590156

Please sign in to comment.