Greg Mann created MESOS-7442:
--------------------------------
Summary: Move some protobuf-related helpers into public headers
Key: MESOS-7442
URL: https://issues.apache.org/jira/browse/MESOS-7442
Project: Mesos
Issue Type: Improvement
Reporter: Greg Mann
It recently came up during some module implementations that a couple
protobuf-related helper functions would be useful if made available to module
developers via public headers. Namely,
* {{getRootContainerId}} found
[here|https://github.com/apache/mesos/blob/2b427c788d46747cc4abfb16138548dd389c60f1/src/common/protobuf_utils.cpp#L637-L650]
* {{operator<<}} for {{Labels}} found
[here|https://github.com/apache/mesos/blob/2b427c788d46747cc4abfb16138548dd389c60f1/src/common/resources.cpp#L1942-L1963]
We should move these into public headers, and do an audit of other similar
helpers to see what else could be useful to module developers.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)