Skip to content

Commit

Permalink
Break long lines (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcs authored Sep 23, 2020
1 parent f56e9f9 commit 841a68e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions senza/respawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ def respawn_elastigroup(
if batch_size is not None:
raise Exception("Batch size is not supported when respawning stateful ElastiGroups")

respawn_stateful_elastigroup(elastigroup_id, stack_name, region, batch_per_subnet, stateful_instances, spotinst_account)
respawn_stateful_elastigroup(
elastigroup_id, stack_name, region, batch_per_subnet, stateful_instances, spotinst_account
)
else:
if batch_per_subnet:
raise Exception("Batch per subnet is not supported when respawning stateless ElastiGroups")
Expand All @@ -201,7 +203,12 @@ def respawn_elastigroup(


def respawn_stateful_elastigroup(
elastigroup_id: str, stack_name: str, region: str, batch_per_subnet: bool, stateful_instances: list, spotinst_account
elastigroup_id: str,
stack_name: str,
region: str,
batch_per_subnet: bool,
stateful_instances: list,
spotinst_account
):
"""
Recycles stateful instances of the ElastiGroup.
Expand Down

0 comments on commit 841a68e

Please sign in to comment.