Fix debug message formatting in server_external_events
Hopefully this will be the last case of invalid debug log messages to fix before turning on debug level log messages on during unit tests, so we can gate on issues like this. Change-Id: I8a2b64222deaf5320bcc2e5215b6bd46565a505f
This commit is contained in:
parent
1c6898efec
commit
50609d1398
@ -109,7 +109,8 @@ class ServerExternalEventsController(wsgi.Controller):
|
||||
instances[event.instance_uuid] = instance
|
||||
except exception.InstanceNotFound:
|
||||
LOG.debug(_('Dropping event %(name)s:%(tag)s for unknown '
|
||||
'instance %(instance_uuid)s'), event)
|
||||
'instance %(instance_uuid)s'),
|
||||
dict(event.iteritems()))
|
||||
_event['status'] = 'failed'
|
||||
_event['code'] = 404
|
||||
result = 207
|
||||
|
@ -82,7 +82,8 @@ class ServerExternalEventsController(wsgi.Controller):
|
||||
instances[event.instance_uuid] = instance
|
||||
except exception.InstanceNotFound:
|
||||
LOG.debug(_('Dropping event %(name)s:%(tag)s for unknown '
|
||||
'instance %(server_uuid)s'), _event)
|
||||
'instance %(instance_uuid)s'),
|
||||
dict(event.iteritems()))
|
||||
_event['status'] = 'failed'
|
||||
_event['code'] = 404
|
||||
result = 207
|
||||
|
Loading…
Reference in New Issue
Block a user