Yan Xu created MESOS-5324:
-----------------------------

             Summary: Framework::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)

Reply via email to