From 525e0fef97b0fd641f36f8c0bec179015488c99e Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Fri, 27 Sep 2013 11:55:56 +0100 Subject: [PATCH] api : default signal body to None Default the signal body to None, so requests without a body don't fail Change-Id: Ia42d71a338459c8b6543b3d4c5b296d005f4c9ee Closes-Bug: #1231926 --- heat/api/cfn/v1/signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/api/cfn/v1/signal.py b/heat/api/cfn/v1/signal.py index 235963b6af..10d6939a99 100644 --- a/heat/api/cfn/v1/signal.py +++ b/heat/api/cfn/v1/signal.py @@ -38,7 +38,7 @@ class SignalController(object): return {'resource': identity.resource_name, 'metadata': md} - def signal(self, req, body, arn): + def signal(self, req, arn, body=None): con = req.context identity = identifier.ResourceIdentifier.from_arn(arn) try: