arcvm: Simplify Upstart start/stop calls
Previously, the code had 10 boilerplate code for starting/stopping Upstart jobs for ARCVM. This CL reduce the amount of such code by allowing the adapter to pass a list of jobs to start/stop to the helper function. BUG=None TEST=try Change-Id: I3f95dcd1b482a7ae3204ed00d9644bd89f508c21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2343376 Commit-Queue: Yusuke Sato <yusukes@chromium.org> Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#796958}
Showing
This diff is collapsed.
Please register or sign in to comment