You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2017/10/31 21:41:00 UTC

[jira] [Updated] (MESOS-8153) make ns::stringify type safe

     [ https://issues.apache.org/jira/browse/MESOS-8153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bannier updated MESOS-8153:
------------------------------------
    Labels: tech-debt  (was: )

> 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
>              Labels: tech-debt
>
> {{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)