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 2015/04/22 23:58:22 UTC

mesos git commit: Fixed the python bindings to use implicit acknoweldgements by default.

Repository: mesos
Updated Branches:
  refs/heads/master 4289616e1 -> c36d59963


Fixed the python bindings to use implicit acknoweldgements by default.

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


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

Branch: refs/heads/master
Commit: c36d5996327ca765f49c211d489371c99ef8e090
Parents: 4289616
Author: Benjamin Mahler <be...@gmail.com>
Authored: Wed Apr 22 14:28:46 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Wed Apr 22 14:28:54 2015 -0700

----------------------------------------------------------------------
 src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c36d5996/src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp
----------------------------------------------------------------------
diff --git a/src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp b/src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp
index b0a5ef4..609dfa3 100644
--- a/src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp
+++ b/src/python/native/src/mesos/native/mesos_scheduler_driver_impl.cpp
@@ -193,7 +193,7 @@ int MesosSchedulerDriverImpl_init(MesosSchedulerDriverImpl* self,
   PyObject* schedulerObj = NULL;
   PyObject* frameworkObj = NULL;
   const char* master;
-  int implicitAcknowledgements;
+  int implicitAcknowledgements = 1; // Enabled by default.
   PyObject* credentialObj = NULL;
 
   if (!PyArg_ParseTuple(