From 31d306c23a75eff06e51e03154d0dabd8a553647 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Mon, 19 Apr 2021 16:18:00 +0100 Subject: [PATCH] docs: Fix typo in variable name --- doc/source/developer_information/how_tos/adding_plugins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/developer_information/how_tos/adding_plugins.rst b/doc/source/developer_information/how_tos/adding_plugins.rst index ce502494..cb3d7c0b 100644 --- a/doc/source/developer_information/how_tos/adding_plugins.rst +++ b/doc/source/developer_information/how_tos/adding_plugins.rst @@ -183,7 +183,7 @@ allow it to decide whether to keep the file or not. # Pull the results file to the host self.host_outfile = os.path.join(context.output_directory, 'timing_results') self.target.pull(self.target_outfile, self.host_outfile) - context.add_artifact('ziptest-results', host_output_file, kind='raw') + context.add_artifact('ziptest-results', self.host_outfile, kind='raw') The ``update_output`` method we can do any generation of metrics that we wish to for our workload. In this case we are going to simply convert the times reported @@ -259,7 +259,7 @@ The full implementation of this workload would look something like: # Pull the results file to the host self.host_outfile = os.path.join(context.output_directory, 'timing_results') self.target.pull(self.target_outfile, self.host_outfile) - context.add_artifact('ziptest-results', host_output_file, kind='raw') + context.add_artifact('ziptest-results', self.host_outfile, kind='raw') def update_output(self, context): super(ZipTestWorkload, self).update_output(context)