Skip to content

Commit

Permalink
tidy up code
Browse files Browse the repository at this point in the history
  • Loading branch information
rachaelcodes committed Oct 7, 2024
1 parent 4812511 commit 73d68dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def add_arguments(self, parser):
def handle(self, *_args, **kwargs):
try:
response = es_client.indices.get_alias(name=kwargs["alias"])
indices_to_remove = list(response.keys())
indices_to_remove = list(response)
except Exception as e:
logger.exception("Error fetching alias", exc_info=e)

Expand Down

0 comments on commit 73d68dc

Please sign in to comment.