Skip to content

Commit

Permalink
convert exemptedMembers to slice of interface
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Jan 24, 2023
1 parent 6770260 commit 86c1c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/packs/gcp/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func auditConfigsToMql(runtime *resources.Runtime, auditCfgs []*cloudresourceman
cfgs := make([]interface{}, 0, len(a.AuditLogConfigs))
for _, c := range a.AuditLogConfigs {
cfgs = append(cfgs, map[string]interface{}{
"exemptedMembers": c.ExemptedMembers,
"exemptedMembers": core.StrSliceToInterface(c.ExemptedMembers),
"logType": c.LogType,
})
}
Expand Down

0 comments on commit 86c1c30

Please sign in to comment.