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
This commit is contained in:
Steven Hardy 2013-09-27 11:55:56 +01:00
parent e3c59c10bb
commit 525e0fef97
1 changed files with 1 additions and 1 deletions

View File

@ -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: