Skip to content

Commit 841a68e

Browse files
authored
Break long lines (#576)
1 parent f56e9f9 commit 841a68e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

senza/respawn.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ def respawn_elastigroup(
192192
if batch_size is not None:
193193
raise Exception("Batch size is not supported when respawning stateful ElastiGroups")
194194

195-
respawn_stateful_elastigroup(elastigroup_id, stack_name, region, batch_per_subnet, stateful_instances, spotinst_account)
195+
respawn_stateful_elastigroup(
196+
elastigroup_id, stack_name, region, batch_per_subnet, stateful_instances, spotinst_account
197+
)
196198
else:
197199
if batch_per_subnet:
198200
raise Exception("Batch per subnet is not supported when respawning stateless ElastiGroups")
@@ -201,7 +203,12 @@ def respawn_elastigroup(
201203

202204

203205
def respawn_stateful_elastigroup(
204-
elastigroup_id: str, stack_name: str, region: str, batch_per_subnet: bool, stateful_instances: list, spotinst_account
206+
elastigroup_id: str,
207+
stack_name: str,
208+
region: str,
209+
batch_per_subnet: bool,
210+
stateful_instances: list,
211+
spotinst_account
205212
):
206213
"""
207214
Recycles stateful instances of the ElastiGroup.

0 commit comments

Comments
 (0)