update_engine: Log invalid Omaha _eol_date attribute
Log may be turned back on.
BUG=b:142823480
TEST=# CQ
Change-Id: Ie562162b36faff3ea81ce9c65cbd9abc19fc43b3
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2023386
Tested-by: Jae Hoon Kim <kimjae@chromium.org>
Auto-Submit: Jae Hoon Kim <kimjae@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Commit-Queue: Amin Hassani <ahassani@chromium.org>
diff --git a/omaha_utils.cc b/omaha_utils.cc
index 54e9fc0..1ef8049 100644
--- a/omaha_utils.cc
+++ b/omaha_utils.cc
@@ -30,9 +30,7 @@
EolDate StringToEolDate(const std::string& eol_date) {
EolDate date = kEolDateInvalid;
if (!base::StringToInt64(eol_date, &date)) {
- // TODO(b/142823480): Once Omaha is passing _eol_date attribute, this log
- // may be turned back on.
- // LOG(WARNING) << "Invalid EOL date attribute: " << eol_date;
+ LOG(WARNING) << "Invalid EOL date attribute: " << eol_date;
return kEolDateInvalid;
}
return date;