Skip to content

Commit

Permalink
Update resource_block.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Jan 1, 2025
1 parent be6aebd commit 9a9c659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/iac/terraform/resource_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func renderSlice(vals []any) string {
for _, v := range vals {
result = fmt.Sprintf("%s\t%v,\n", result, renderPrimitive(v))
}
result = result + "]"
result += "]"
return result
}
}
Expand All @@ -162,7 +162,7 @@ func renderMap(val map[string]any) string {
}
result = fmt.Sprintf("%s\t%s = %s\n", result, k, renderPrimitive(v))
}
result = result + "}"
result += "}"
return result
}

Expand Down

0 comments on commit 9a9c659

Please sign in to comment.