Commit 3138d343 authored by Michael Ershov's avatar Michael Ershov Committed by Commit Bot

Cert Provisioning: Remove unnecessary logging

Log a message about internet connection only when there are workers.
In other cases it shouldn't matter.

Bug: 1045895
Change-Id: I9ff4f03deabfb245017b14a13a834ba9148eda7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297499Reviewed-by: default avatarPavol Marko <pmarko@chromium.org>
Commit-Queue: Michael Ershov <miersh@google.com>
Cr-Commit-Position: refs/heads/master@{#788587}
parent f96483ec
......@@ -574,7 +574,10 @@ void CertProvisioningScheduler::WaitForInternetConnection() {
return;
}
VLOG(0) << "Waiting for internet connection";
if (!workers_.empty()) {
VLOG(0) << "Waiting for internet connection";
}
is_waiting_for_online_ = true;
for (auto& kv : workers_) {
auto& worker_ptr = kv.second;
......
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