Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2641)

Unified Diff: server/control_segments/cleanup

Issue 6124004: Revert "Merge remote branch 'cros/upstream' into autotest-rebase" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/base_utils_unittest.py ('k') | server/control_segments/client_wrapper » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/control_segments/cleanup
diff --git a/server/control_segments/cleanup b/server/control_segments/cleanup
index 6ac67882c804b4815ab6fcd9c45ba24767232fb0..1a201bde62842b7caf82ff2ca7f4c673e702a97a 100644
--- a/server/control_segments/cleanup
+++ b/server/control_segments/cleanup
@@ -1,5 +1,8 @@
def cleanup(machine):
- host = hosts.create_host(machine, initialize=False, auto_monitor=False)
+ hostname, user, passwd, port = parse_machine(machine, ssh_user,
+ ssh_port, ssh_pass)
+ host = hosts.create_host(hostname, user=user, port=port, initialize=False,
+ password=passwd, auto_monitor=False)
host.cleanup()
« no previous file with comments | « server/base_utils_unittest.py ('k') | server/control_segments/client_wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698