You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2017/02/09 00:36:26 UTC
[4/5] mesos git commit: Removed a stale TODO in the agent code.
Removed a stale TODO in the agent code.
This TODO was written before the code below it handled the
optionality of the state `info` fields.
Review: https://reviews.apache.org/r/56424
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d1c7fe31
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d1c7fe31
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d1c7fe31
Branch: refs/heads/master
Commit: d1c7fe31badf8910e0e7c97c6300ddbbf5c1693f
Parents: dc48ed2
Author: Benjamin Mahler <bm...@apache.org>
Authored: Tue Feb 7 18:33:13 2017 -0800
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Wed Feb 8 16:36:02 2017 -0800
----------------------------------------------------------------------
src/slave/slave.cpp | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/d1c7fe31/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 520fdec..d184dd3 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -5290,8 +5290,6 @@ Future<Nothing> Slave::recover(const Try<state::State>& state)
// also must do this for MULTI_ROLE frameworks since they
// may have tasks that were present before the framework
// upgraded into MULTI_ROLE.
- //
- // TODO(bmahler): When can the `info` fields be None?
auto injectAllocationInfo = [](
RepeatedPtrField<Resource>* resources,
const FrameworkInfo& frameworkInfo) {