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:
parent
e3c59c10bb
commit
525e0fef97
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue