[
https://issues.apache.org/jira/browse/MESOS-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zuyu Zhang updated MESOS-1643:
------------------------------
Description:
It makes more sense to return port resource for a given role, rather than all
ports in Resources.
In mesos/resource.hpp:
Option<Value::Ranges> Resources::ports(const string& role = "*");
was:
It makes more sense to return port resource for a given role, rather than all
ports in Resources.
Option<Value::Ranges> Resources::ports(const string& role = "*");
> Provide APIs to return port resource for a given role
> -----------------------------------------------------
>
> Key: MESOS-1643
> URL: https://issues.apache.org/jira/browse/MESOS-1643
> Project: Mesos
> Issue Type: Improvement
> Reporter: Zuyu Zhang
> Priority: Trivial
>
> It makes more sense to return port resource for a given role, rather than all
> ports in Resources.
> In mesos/resource.hpp:
> Option<Value::Ranges> Resources::ports(const string& role = "*");
--
This message was sent by Atlassian JIRA
(v6.2#6252)