You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2017/10/31 21:39:00 UTC
[jira] [Created] (MESOS-8153) make ns::stringify type safe
James Peach created MESOS-8153:
----------------------------------
Summary: make ns::stringify type safe
Key: MESOS-8153
URL: https://issues.apache.org/jira/browse/MESOS-8153
Project: Mesos
Issue Type: Bug
Reporter: James Peach
{{ns::stringify}} takes an {{int}} argument for clone(2) flags. Depending on which namespaces are in scope, this can silently be called with other {{int}} arguments that are not clone flags. This will cause it to return an empty string.
We should find a way to make this type safe so we can know that {{ns::stringify}} can only get clone flags.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)