Skip to content

Commit

Permalink
fix(secure-onboarding) Fix variable initialization during cloudaccoun…
Browse files Browse the repository at this point in the history
…t feature reads (#433)
  • Loading branch information
ravinadhruve10 authored Oct 20, 2023
1 parent e1eefe8 commit 5b77776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysdig/resource_sysdig_secure_cloud_auth_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ func featureToResourceData(features *cloudauth.AccountFeatures) []interface{} {
}

allFeatures := make(map[string]interface{})
featureBlock := make([]map[string]interface{}, 0)
for name, feature := range featureFields {
if feature != nil {
featureBlock := make([]map[string]interface{}, 0)
value := featureValuesToResourceData(feature)
featureBlock = append(featureBlock, value)

Expand Down

0 comments on commit 5b77776

Please sign in to comment.