mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
string
This commit is contained in:
@@ -851,7 +851,7 @@ class UnifiedJob(
|
|||||||
# out the time that elapsed, do so.
|
# out the time that elapsed, do so.
|
||||||
if self.started and self.finished and self.elapsed == 0.0:
|
if self.started and self.finished and self.elapsed == 0.0:
|
||||||
td = self.finished - self.started
|
td = self.finished - self.started
|
||||||
self.elapsed = (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10 ** 6) / (10 ** 6 * 1.0)
|
self.elapsed = str((td.microseconds + (td.seconds + td.days * 24 * 3600) * 10 ** 6) / (10 ** 6 * 1.0))
|
||||||
if 'elapsed' not in update_fields:
|
if 'elapsed' not in update_fields:
|
||||||
update_fields.append('elapsed')
|
update_fields.append('elapsed')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user