summaryrefslogtreecommitdiff
path: root/update_manager/evaluation_context-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'update_manager/evaluation_context-inl.h')
-rw-r--r--update_manager/evaluation_context-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_manager/evaluation_context-inl.h b/update_manager/evaluation_context-inl.h
index 59d85da0..82861fa2 100644
--- a/update_manager/evaluation_context-inl.h
+++ b/update_manager/evaluation_context-inl.h
@@ -39,7 +39,7 @@ const T* EvaluationContext::GetValue(Variable<T>* var) {
std::string errmsg;
const T* result =
var->GetValue(RemainingTime(evaluation_monotonic_deadline_), &errmsg);
- if (result == nullptr) {
+ if (result == nullptr && !var->IsMissingOk()) {
LOG(WARNING) << "Error reading Variable " << var->GetName() << ": \""
<< errmsg << "\"";
}