----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42733/ -----------------------------------------------------------
(Updated Feb. 26, 2016, 6:30 p.m.) Review request for mesos, Jie Yu, Michael Park, and Neil Conway. Changes ------- Rebased. Repository: mesos Description (updated) ------- Added checks for presence of `ReservationInfo.principal`. The `ReservationInfo.principal` field was recently made `optional`. There remain a couple places in the code that assume this field is always set. This patch uses `has_principal()` before this field is accessed to ensure safety. Diffs (updated) ----- src/common/resources.cpp 5d731870542166cec11f9956ccdf16207b2d22cc src/master/master.cpp 8d6d3c6468c6b85fe09c33cf9747cc3d1f515ab9 src/v1/resources.cpp 207eb61d6a6d03d314539d42751cac65fcffa9af Diff: https://reviews.apache.org/r/42733/diff/ Testing ------- `make check` Thanks, Greg Mann