You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2018/04/02 18:46:54 UTC

[6/6] mesos git commit: Made the master drop `RECONCILE_OPERATIONS` calls from v0 schedulers.

Made the master drop `RECONCILE_OPERATIONS` calls from v0 schedulers.

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


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

Branch: refs/heads/master
Commit: 594ee20c2453dad836313769aef9f8655cd75cd5
Parents: 4e677ad
Author: Gaston Kleiman <ga...@mesosphere.io>
Authored: Mon Apr 2 10:44:15 2018 -0700
Committer: Greg Mann <gr...@gmail.com>
Committed: Mon Apr 2 11:44:31 2018 -0700

----------------------------------------------------------------------
 src/master/master.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/594ee20c/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index a8dee8e..18382fa 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -2432,7 +2432,10 @@ void Master::receive(
       break;
 
     case scheduler::Call::RECONCILE_OPERATIONS:
-      reconcileOperations(framework, call.reconcile_operations());
+      drop(
+          from,
+          call,
+          "'RECONCILE_OPERATIONS' is not supported by the v0 API");
       break;
 
     case scheduler::Call::MESSAGE: