From ec87e37d8c5f5788e8af231a7d5b6acb8cc471b3 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Tue, 23 Dec 2014 17:17:53 -0500 Subject: [PATCH] EC2 terminate_instances does not take a force flag. --- buildman/manager/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildman/manager/executor.py b/buildman/manager/executor.py index 1a7c4e114..814b95a5b 100644 --- a/buildman/manager/executor.py +++ b/buildman/manager/executor.py @@ -147,7 +147,7 @@ class EC2Executor(BuilderExecutor): @coroutine def stop_builder(self, builder_id): ec2_conn = self._get_conn() - terminated_instances = yield From(ec2_conn.terminate_instances([builder_id], force=True)) + terminated_instances = yield From(ec2_conn.terminate_instances([builder_id])) if builder_id not in [si.id for si in terminated_instances]: raise ExecutorException('Unable to terminate instance: %s' % builder_id)