Abhishek Dasgupta created MESOS-5797:
----------------------------------------
Summary: Use shared_ptr instead of raw pointer for
mesos::Authorizer in slave and master initialization.
Key: MESOS-5797
URL: https://issues.apache.org/jira/browse/MESOS-5797
Project: Mesos
Issue Type: Bug
Components: general
Reporter: Abhishek Dasgupta
Assignee: Abhishek Dasgupta
Like in slave.hpp, to initialize Slave instance, we are using "const
Option<Authorizer*>& authorizer" raw pointer. Instead of a raw pointer, we may
use shared_ptr here as this pointer might be shared among other objects also to
support authorization in those.
Similarly, it can be done for master initialization also.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)