[bot_update] Fix initialization from buildbucket
When checking if buildbucket.build_input.gitiles_commit exists, use HasField protobuf method, as opposed to truth check. A protobuf message field is always true. Bug: 877161 Change-Id: Ie4a7e22b985776441a74283b09646e8837c326f1 Reviewed-on: https://chromium-review.googlesource.com/1196930 Commit-Queue: Nodir Turakulov <nodir@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>changes/30/1196930/3
parent
cc2bf0c04d
commit
f20c5a4a3c
Loading…
Reference in New Issue