mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yong Tang <yong.tang.git...@outlook.com>
Subject Re: Review Request 46470: Change to explicit case statements (`UNKNOWN`) for authorization.
Date Fri, 22 Apr 2016 05:29:36 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46470/
-----------------------------------------------------------

(Updated April 22, 2016, 5:29 a.m.)


Review request for mesos, Adam B, Ben Mahler, and Vinod Kone.


Changes
-------

Update review request from https://reviews.apache.org/r/46364/


Bugs: MESOS-5031
    https://issues.apache.org/jira/browse/MESOS-5031


Repository: mesos


Description
-------

This patch changes from `default` statement to explicit case
statement (`UNKNOWN`) so that complier could help catching all
switches when new enums are introduced in the future.

This patch is related to:
https://reviews.apache.org/r/45342/ (MESOS-5031)


Diffs (updated)
-----

  src/authorizer/local/authorizer.cpp c744a16041c2466d3839a37fbee2bf86887bf4e1 

Diff: https://reviews.apache.org/r/46470/diff/


Testing
-------

make check (Ubuntu 14.04)


Thanks,

Yong Tang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message