You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2015/09/21 21:28:00 UTC
[4/4] mesos git commit: Changed function quiesce() to suppress().
Changed function quiesce() to suppress().
Review: https://reviews.apache.org/r/38519
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a2e740d3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a2e740d3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a2e740d3
Branch: refs/heads/master
Commit: a2e740d36550b1bf7f6fe9ad3ec0242a7f9d7a74
Parents: 9d15cd3
Author: Guangya Liu <gy...@gmail.com>
Authored: Mon Sep 21 12:10:20 2015 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Mon Sep 21 12:27:17 2015 -0700
----------------------------------------------------------------------
src/master/http.cpp | 2 +-
src/master/master.cpp | 4 ++--
src/master/master.hpp | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a2e740d3/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 6c3f7d8..3e44b06 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -483,7 +483,7 @@ Future<Response> Master::Http::scheduler(const Request& request) const
return Accepted();
case scheduler::Call::SUPPRESS:
- master->quiesce(framework);
+ master->suppress(framework);
return Accepted();
case scheduler::Call::KILL:
http://git-wip-us.apache.org/repos/asf/mesos/blob/a2e740d3/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index d4a3fb1..90ef8c6 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -1782,7 +1782,7 @@ void Master::receive(
break;
case scheduler::Call::SUPPRESS:
- quiesce(framework);
+ suppress(framework);
break;
default:
@@ -2619,7 +2619,7 @@ void Master::request(
}
-void Master::quiesce(Framework* framework)
+void Master::suppress(Framework* framework)
{
CHECK_NOTNULL(framework);
http://git-wip-us.apache.org/repos/asf/mesos/blob/a2e740d3/src/master/master.hpp
----------------------------------------------------------------------
diff --git a/src/master/master.hpp b/src/master/master.hpp
index 0c1e81c..4bb65f0 100644
--- a/src/master/master.hpp
+++ b/src/master/master.hpp
@@ -829,7 +829,7 @@ private:
Framework* framework,
const scheduler::Call::Request& request);
- void quiesce(Framework* framework);
+ void suppress(Framework* framework);
bool elected() const
{