Commit ee85d01e authored by Youkichi Hosoi's avatar Youkichi Hosoi Committed by Commit Bot

dbus: Use |upstart_env| in UpstartClient::StopJob()

Currently the argument is unused but it should be used.

BUG=none
TEST=Stop an Upstart job with nonempty environment.

Change-Id: I5b6485a79a357cb900b3672248d695a376249084
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526662Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
Reviewed-by: default avatarRyo Hashimoto <hashimoto@chromium.org>
Commit-Queue: Youkichi Hosoi <youkichihosoi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825910}
parent be77742a
...@@ -56,7 +56,7 @@ class UpstartClientImpl : public UpstartClient { ...@@ -56,7 +56,7 @@ class UpstartClientImpl : public UpstartClient {
void StopJob(const std::string& job, void StopJob(const std::string& job,
const std::vector<std::string>& upstart_env, const std::vector<std::string>& upstart_env,
VoidDBusMethodCallback callback) override { VoidDBusMethodCallback callback) override {
CallJobMethod(job, kStopMethod, {}, std::move(callback)); CallJobMethod(job, kStopMethod, upstart_env, std::move(callback));
} }
void StartAuthPolicyService() override { void StartAuthPolicyService() override {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment