[
https://issues.apache.org/jira/browse/MESOS-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yan Xu updated MESOS-5324:
--------------------------
Summary: Allocator::addFramework takes a 'used' map that's always empty.
(was: Framework::addFramework takes a 'used' map that's always empty.)
> Allocator::addFramework takes a 'used' map that's always empty.
> ---------------------------------------------------------------
>
> Key: MESOS-5324
> URL: https://issues.apache.org/jira/browse/MESOS-5324
> Project: Mesos
> Issue Type: Bug
> Components: allocation
> Reporter: Yan Xu
>
> {code}
> virtual void addFramework(
> const FrameworkID& frameworkId,
> const FrameworkInfo& frameworkInfo,
> const hashmap<SlaveID, Resources>& used) = 0;
> {code}
> The last argument is always empty in our codebase and I wonder if this is for
> future-proofing? I can't think of a reason this is, would we ever take the
> info from the framework?
> /cc [~alexr]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)