Skip to content

Commit

Permalink
One more time make sure it is string type
Browse files Browse the repository at this point in the history
Signed-off-by: Hossein Rouhani <[email protected]>
  • Loading branch information
HRouhani committed Feb 23, 2024
1 parent 6111971 commit 82f0a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/aws/resources/aws_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (a *mqlAwsConfig) getRecorders(conn *connection.AwsConnection) []*jobpool.J
}
resourceTypesInterface := make([]interface{}, len(r.RecordingGroup.ResourceTypes))
for i, resourceType := range r.RecordingGroup.ResourceTypes {
resourceTypesInterface[i] = resourceType
resourceTypesInterface[i] = string(resourceType)
}
mqlRecorder, err := CreateResource(a.MqlRuntime, "aws.config.recorder",
map[string]*llx.RawData{
Expand Down

0 comments on commit 82f0a1f

Please sign in to comment.