api/controller: Specify packages as argument
BUG=none
TEST=./run_tests
Change-Id: I26a0484ddbe852745e0b3e049c6c9cc9281751c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3566169
Reviewed-by: Sloan Johnson <sloanjohnson@google.com>
Commit-Queue: Lizzy Presland <zland@google.com>
Auto-Submit: Lizzy Presland <zland@google.com>
Tested-by: Lizzy Presland <zland@google.com>
diff --git a/api/controller/test.py b/api/controller/test.py
index 7aa140d..67f9d80 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -138,11 +138,8 @@
if not result.success:
# Record all failed packages and retrieve log locations.
- controller_util.retrieve_package_log_paths(
- sysroot_lib.PackageInstallError('error installing packages',
- cros_build_lib.CommandResult(),
- packages=result.failed_pkgs),
- output_proto, sysroot)
+ controller_util.retrieve_package_log_paths(result.failed_pkgs,
+ output_proto, sysroot)
if result.failed_pkgs:
return controller.RETURN_CODE_UNSUCCESSFUL_RESPONSE_AVAILABLE
else: