diff --git a/moto/ecs/models.py b/moto/ecs/models.py index 06600cab5..359cddec6 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):