Build API: Recursive Path Handling
BUG=chromium:959429
TEST=run_tests
Change-Id: I6f6d93f5e31d0166602bd04320549c7c25046bf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1644218
Tested-by: Alex Klein <saklein@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
Reviewed-by: Evan Hernandez <evanhernandez@chromium.org>
diff --git a/api/controller/test.py b/api/controller/test.py
index 43f4e41..5b7e848 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -185,7 +185,7 @@
cmd.extend(['--ssh-port', str(input_proto.ssh_options.port)])
if input_proto.ssh_options.private_key_path:
- cmd.extend(['--private-key', input_proto.ssh_options.private_key_path])
+ cmd.extend(['--private-key', input_proto.ssh_options.private_key_path.path])
# TODO(evanhernandez): Find a nice way to pass test_that-args through
# the build API. Or obviate them.