Skip to content

Commit

Permalink
remove other changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Feb 7, 2024
1 parent 61ec679 commit d34cf70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions providers/aws/resources/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,13 +473,11 @@ func discover(runtime *plugin.Runtime, awsAccount *mqlAwsAccount, target string,
for i := range bs.Data {
f := bs.Data[i].(*mqlAwsS3Bucket)

location := f.GetLocation()

tags := mapStringInterfaceToStringString(f.Tags.Data)
m := mqlObject{
name: f.Name.Data, labels: tags,
awsObject: awsObject{
account: accountId, region: location.Data, arn: f.Arn.Data,
account: accountId, region: f.Location.Data, arn: f.Arn.Data,
id: f.Name.Data, service: "s3", objectType: "bucket",
},
}
Expand Down

0 comments on commit d34cf70

Please sign in to comment.