You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2017/07/25 22:17:47 UTC

[3/3] mesos git commit: Removed stale FetcherProcess::setSpace declaration.

Removed stale FetcherProcess::setSpace declaration.

Removed the stale declaration of FetcherProcess::setSpace(). The
implementation was previously removed in 6db493c07.

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


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

Branch: refs/heads/master
Commit: 4e212c0122aaada1435ef164dfa6a7eb73efa6b3
Parents: d26db21
Author: James Peach <jp...@apache.org>
Authored: Tue Jul 25 15:14:46 2017 -0700
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Tue Jul 25 15:14:46 2017 -0700

----------------------------------------------------------------------
 src/slave/containerizer/fetcher_process.hpp | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/4e212c01/src/slave/containerizer/fetcher_process.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/fetcher_process.hpp b/src/slave/containerizer/fetcher_process.hpp
index 13812b3..36010e3 100644
--- a/src/slave/containerizer/fetcher_process.hpp
+++ b/src/slave/containerizer/fetcher_process.hpp
@@ -136,11 +136,6 @@ public:
     explicit Cache(Bytes _space) : space(_space), tally(0), filenameSerial(0) {}
     virtual ~Cache() {}
 
-    // Registers the maximum usable space in the cache directory.
-    // TODO(bernd-mesos): This method will disappear when injecting 'flags'
-    // into the fetcher instead of passing 'flags' around as parameter.
-    void setSpace(const Bytes& bytes);
-
     void claimSpace(const Bytes& bytes);
     void releaseSpace(const Bytes& bytes);