deatils is a dictionary don't do loads
Change-Id: I6f9d7de1c34362090f56ec03c8fe03d5d06fa1fb
This commit is contained in:
parent
177abe6062
commit
a330ef92ed
@ -13,7 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import json
|
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
import oslo_messaging
|
import oslo_messaging
|
||||||
from oslo_utils import uuidutils
|
from oslo_utils import uuidutils
|
||||||
@ -36,7 +35,7 @@ class EventApis(EntityGraphApisBase):
|
|||||||
try:
|
try:
|
||||||
event = {EventProperties.TYPE: event_type,
|
event = {EventProperties.TYPE: event_type,
|
||||||
EventProperties.TIME: event_time,
|
EventProperties.TIME: event_time,
|
||||||
EventProperties.DETAILS: json.loads(details)}
|
EventProperties.DETAILS: details}
|
||||||
|
|
||||||
self.oslo_notifier.info(
|
self.oslo_notifier.info(
|
||||||
ctxt={'message_id': uuidutils.generate_uuid(),
|
ctxt={'message_id': uuidutils.generate_uuid(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user