mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
fix(cloudwatchlogs): add logGroupArn to DescribeLogGroups (#3868)
This commit is contained in:
1 parent
78c046b883
commit
0108b9653a
2 files changed
+51
-1
No files matched your search
+3
-1
@@ -126,7 +126,9 @@ public class CloudWatchLogsHandler {
|
||||
ObjectNode node = objectMapper.createObjectNode();
|
||||
node.put("logGroupName", g.getLogGroupName());
|
||||
node.put("createdTime", g.getCreatedTime());
|
||||
node.put("arn", logsService.buildArn(g.getLogGroupName(), region));
|
||||
String logGroupArn = logsService.buildArn(g.getLogGroupName(), region);
|
||||
node.put("arn", logGroupArn + ":*");
|
||||
node.put("logGroupArn", logGroupArn);
|
||||
if (g.getRetentionInDays() != null) {
|
||||
node.put("retentionInDays", g.getRetentionInDays());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user