Fixed a formatting error in `hierarchical.cpp`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a152828e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a152828e Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a152828e Branch: refs/heads/master Commit: a152828e13fcebb49bd813d391d3836144bd817b Parents: 5e94f3c Author: Michael Park <[email protected]> Authored: Sat Mar 4 10:53:14 2017 -0800 Committer: Michael Park <[email protected]> Committed: Sat Mar 4 10:55:34 2017 -0800 ---------------------------------------------------------------------- src/master/allocator/mesos/hierarchical.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/a152828e/src/master/allocator/mesos/hierarchical.cpp ---------------------------------------------------------------------- diff --git a/src/master/allocator/mesos/hierarchical.cpp b/src/master/allocator/mesos/hierarchical.cpp index 6968157..dcafc79 100644 --- a/src/master/allocator/mesos/hierarchical.cpp +++ b/src/master/allocator/mesos/hierarchical.cpp @@ -456,7 +456,7 @@ void HierarchicalAllocatorProcess::addSlave( foreachpair (const FrameworkID& frameworkId, const Resources& used_, used) { - if (!frameworks.contains(frameworkId) ) { + if (!frameworks.contains(frameworkId)) { continue; }
