You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by id...@apache.org on 2015/01/26 23:54:35 UTC
mesos git commit: Remove deprecated slave flag --cgroups_subsystems.
Repository: mesos
Updated Branches:
refs/heads/master 820ecf4a5 -> efce2bc53
Remove deprecated slave flag --cgroups_subsystems.
Review:
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/efce2bc5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/efce2bc5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/efce2bc5
Branch: refs/heads/master
Commit: efce2bc537a7792e336fff11cc2a075d60125131
Parents: 820ecf4
Author: Ian Downes <id...@twitter.com>
Authored: Mon Jan 26 14:43:09 2015 -0800
Committer: Ian Downes <id...@twitter.com>
Committed: Mon Jan 26 14:43:32 2015 -0800
----------------------------------------------------------------------
docs/configuration.md | 9 ---------
src/slave/flags.hpp | 6 ------
2 files changed, 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/efce2bc5/docs/configuration.md
----------------------------------------------------------------------
diff --git a/docs/configuration.md b/docs/configuration.md
index 8a55f63..22f9e3d 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -684,15 +684,6 @@ file://path/to/file (where file contains one of the above)</code></pre>
</tr>
<tr>
<td>
- --cgroups_subsystems=VALUE
- </td>
- <td>
- This flag has been deprecated and is no longer used,
- please update your flags
- </td>
- </tr>
- <tr>
- <td>
--[no-]checkpoint
</td>
<td>
http://git-wip-us.apache.org/repos/asf/mesos/blob/efce2bc5/src/slave/flags.hpp
----------------------------------------------------------------------
diff --git a/src/slave/flags.hpp b/src/slave/flags.hpp
index a3c5c68..0f6cc41 100644
--- a/src/slave/flags.hpp
+++ b/src/slave/flags.hpp
@@ -219,11 +219,6 @@ public:
"Name of the root cgroup\n",
"mesos");
- add(&Flags::cgroups_subsystems,
- "cgroups_subsystems",
- "This flag has been deprecated and is no longer used,\n"
- "please update your flags");
-
add(&Flags::cgroups_enable_cfs,
"cgroups_enable_cfs",
"Cgroups feature flag to enable hard limits on CPU resources\n"
@@ -493,7 +488,6 @@ public:
#ifdef __linux__
std::string cgroups_hierarchy;
std::string cgroups_root;
- Option<std::string> cgroups_subsystems;
bool cgroups_enable_cfs;
bool cgroups_limit_swap;
Option<std::string> slave_subsystems;