Skip to content

Commit

Permalink
♻️ Rename client and facade to service
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonBirchall committed Jul 1, 2024
1 parent 448ab62 commit a7bed62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions check_empty_zones.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def github_actions_output(output, exit_code):


def main():
client = Route53Service()
zones = client.get_aws_zones()
service = Route53Service()
zones = service.get_aws_zones()

empty_zones = [
zone.rstrip(".") for zone_id, zone in zones if client.is_zone_empty(zone_id)
zone.rstrip(".") for zone_id, zone in zones if service.is_zone_empty(zone_id)
]

if empty_zones:
Expand Down
4 changes: 2 additions & 2 deletions check_unmanaged_zones.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def github_actions_output(output, exit_code):


def main():
client = Route53Service()
aws_zones = [zone[1] for zone in client.get_aws_zones()]
service = Route53Service()
aws_zones = [zone[1] for zone in service.get_aws_zones()]
config_zones = get_config_zones()

unmanaged_zones = set(aws_zones) - set(config_zones)
Expand Down
File renamed without changes.

0 comments on commit a7bed62

Please sign in to comment.