mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
fw/output: Ensure that Event
message is converted to a string
Explicitly convert the passed message into a string as this is expected when generating a event summary, otherwise splitting can fail.
This commit is contained in:
@@ -617,7 +617,7 @@ class Event(object):
|
||||
|
||||
def __init__(self, message):
|
||||
self.timestamp = datetime.utcnow()
|
||||
self.message = message
|
||||
self.message = str(message)
|
||||
|
||||
def to_pod(self):
|
||||
return dict(
|
||||
|
Reference in New Issue
Block a user