diff options
| author | Amin Hassani <ahassani@google.com> | 2018-04-06 13:22:00 -0700 |
|---|---|---|
| committer | Amin Hassani <ahassani@google.com> | 2018-04-06 13:23:45 -0700 |
| commit | ed37d6819b336ebb815233e896aa56f40755ab5c (patch) | |
| tree | 2fdd57f0838e02cf90a7293826212faafe03fdf7 /update_manager/interactive_update_policy_impl.cc | |
| parent | 49a08972bae293f4b5f8403d5e87c9d12b0329d9 (diff) | |
Replace is_interactive with interactive for consistency in the code.
Bug: none
Test: unittests
Change-Id: I8c98860cfeadb52c7f8e4931d2ad154ae4211d47
Diffstat (limited to 'update_manager/interactive_update_policy_impl.cc')
| -rw-r--r-- | update_manager/interactive_update_policy_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update_manager/interactive_update_policy_impl.cc b/update_manager/interactive_update_policy_impl.cc index df7f17bb..03af4351 100644 --- a/update_manager/interactive_update_policy_impl.cc +++ b/update_manager/interactive_update_policy_impl.cc @@ -31,10 +31,10 @@ EvalStatus InteractiveUpdatePolicyImpl::UpdateCheckAllowed( ec->GetValue(updater_provider->var_forced_update_requested()); if (forced_update_requested_p != nullptr && *forced_update_requested_p != UpdateRequestStatus::kNone) { - result->is_interactive = + result->interactive = (*forced_update_requested_p == UpdateRequestStatus::kInteractive); LOG(INFO) << "Forced update signaled (" - << (result->is_interactive ? "interactive" : "periodic") + << (result->interactive ? "interactive" : "periodic") << "), allowing update check."; return EvalStatus::kSucceeded; } |
