We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567cfe8 commit 134a82aCopy full SHA for 134a82a
cloudinit/reporting/events.py
@@ -107,7 +107,7 @@ def as_dict(self):
107
"""The event represented as json friendly."""
108
data = super(FinishReportingEvent, self).as_dict()
109
data["result"] = self.result
110
- data["duration"] = self.duration
+ data["duration"] = round(self.duration, 4)
111
if self.post_files:
112
data["files"] = _collect_file_info(self.post_files)
113
return data
0 commit comments