Convert job_created to string for serialization

This commit is contained in:
Jim Ladd
2021-02-10 20:35:37 -08:00
parent c0d38e91f5
commit 1af1a5e9da
2 changed files with 11 additions and 1 deletions

View File

@@ -1290,7 +1290,7 @@ class BaseTask(object):
# TODO: can we count on instance always having created?
# If we can't how can we store the job_event?
self.job_created = self.instance.created
self.job_created = str(self.instance.created)
try:
self.instance.send_notification_templates("running")