From 69b86b2c7a25b225fc9da2f76f6dbb9f5adfee23 Mon Sep 17 00:00:00 2001 From: GuyTempleton Date: Thu, 13 Apr 2017 18:41:29 +0100 Subject: [PATCH] Fix indentation of ContainerInstance response object --- moto/ecs/models.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/moto/ecs/models.py b/moto/ecs/models.py index 06600cab..359cddec 100644 --- a/moto/ecs/models.py +++ b/moto/ecs/models.py @@ -299,11 +299,10 @@ class ContainerInstance(BaseObject): 'dockerVersion': 'DockerVersion: 1.5.0' } - @property - def response_object(self): - response_object = self.gen_response_object() - del response_object['name'], response_object['arn'] - return response_object + @property + def response_object(self): + response_object = self.gen_response_object() + return response_object class ContainerInstanceFailure(BaseObject):