update_engine: fix english
Fix the english for accuracy regarding DLC.
BUG=chromium:897882
TEST=None
Change-Id: I72ab9ecb7903bb5fb35597222cd7c8b1f4244cfc
Reviewed-on: https://chromium-review.googlesource.com/1351359
Commit-Ready: Xiaochu Liu <xiaochu@chromium.org>
Tested-by: Xiaochu Liu <xiaochu@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
diff --git a/dbus_service.cc b/dbus_service.cc
index 0eec01d..03425b6 100644
--- a/dbus_service.cc
+++ b/dbus_service.cc
@@ -73,16 +73,17 @@
return false;
}
// Extract fields from the protobuf.
- vector<string> dlc_ids;
+ vector<string> dlc_module_ids;
for (const auto& dlc_info : dlc_parameters.dlc_infos()) {
if (dlc_info.dlc_id().empty()) {
*error = brillo::Error::Create(
FROM_HERE, "update_engine", "INTERNAL", "parameters are invalid.");
return false;
}
- dlc_ids.push_back(dlc_info.dlc_id());
+ dlc_module_ids.push_back(dlc_info.dlc_id());
}
- return common_->AttemptInstall(error, dlc_parameters.omaha_url(), dlc_ids);
+ return common_->AttemptInstall(
+ error, dlc_parameters.omaha_url(), dlc_module_ids);
}
bool DBusUpdateEngineService::AttemptRollback(ErrorPtr* error,