Skip to content

Commit

Permalink
Merge pull request #27 from scari/patch-1
Browse files Browse the repository at this point in the history
Update set_cloudwatch_logs_retention.py
  • Loading branch information
dannysteenman authored Nov 14, 2023
2 parents 38b25c7 + 9bebe4e commit fcaaa00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudwatch/set_cloudwatch_logs_retention.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def get_cloudwatch_log_groups():

cloudwatch_log_groups += [log_group for log_group in response["logGroups"]]

if "NextToken" in response:
kwargs["NextToken"] = response["NextToken"]
if "nextToken" in response:
kwargs["nextToken"] = response["nextToken"]
else:
break

Expand Down

0 comments on commit fcaaa00

Please sign in to comment.