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/01/27 00:46:53 UTC

[5/6] mesos git commit: Made a function static in the allocator.

Made a function static in the allocator.

Review: https://reviews.apache.org/r/55908


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c69dbbab
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c69dbbab
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/c69dbbab

Branch: refs/heads/master
Commit: c69dbbab0c6d154ba59b53f23d874d27628f28f1
Parents: 3882cdb
Author: Benjamin Mahler <bm...@apache.org>
Authored: Tue Jan 24 17:20:16 2017 -0800
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Thu Jan 26 16:37:38 2017 -0800

----------------------------------------------------------------------
 src/master/allocator/mesos/hierarchical.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c69dbbab/src/master/allocator/mesos/hierarchical.hpp
----------------------------------------------------------------------
diff --git a/src/master/allocator/mesos/hierarchical.hpp b/src/master/allocator/mesos/hierarchical.hpp
index 9b66c23..d9c665e 100644
--- a/src/master/allocator/mesos/hierarchical.hpp
+++ b/src/master/allocator/mesos/hierarchical.hpp
@@ -257,7 +257,7 @@ protected:
       const FrameworkID& frameworkID,
       const SlaveID& slaveID);
 
-  bool allocatable(const Resources& resources);
+  static bool allocatable(const Resources& resources);
 
   bool initialized;
   bool paused;