Skip to content
Snippets Groups Projects
Commit 66b3119f authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Store more accurate time taken for install in metadata

parent 36e94c10
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ class InstallAction(Action):
metadata = {
"component_name": self.build.component.name,
"build_name": self.build.name,
"install_time": int(end_time - start_time),
"install_time": end_time - start_time,
}
with open(self.config.installed_component_metadata_path(self.build.component.name), "w") as f:
json.dump(metadata, f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment