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

Review request for mesos and Meng Zhu.


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


Repository: mesos


Description
-------

We never explicitly supported `FrameworkID`s containing literal `/`.
Moreover, since the introduction of hierarchical roles such
`FrameworkID`s would cause fatal errors.

This patch adds validation for `FrameworkID`s so such IDs are
rejected.


Diffs
-----

  src/master/validation.hpp 9af903970795a5c8c479d1984a580e41d91f6c91 
  src/master/validation.cpp 5768ac8fe802f28855fbd7be135c711115532771 
  src/tests/master_validation_tests.cpp 
aa7c8f70c09459be32c6c415497e95fcdc218efd 


Diff: https://reviews.apache.org/r/69398/diff/1/


Testing
-------

`make check`


Thanks,

Benjamin Bannier

Reply via email to