You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:31:52 UTC

svn commit: r1131628 - /incubator/mesos/trunk/src/slave.cpp

Author: benh
Date: Sun Jun  5 03:31:51 2011
New Revision: 1131628

URL: http://svn.apache.org/viewvc?rev=1131628&view=rev
Log:
Bug when not using ZooKeeper fixed.

Modified:
    incubator/mesos/trunk/src/slave.cpp

Modified: incubator/mesos/trunk/src/slave.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/slave.cpp?rev=1131628&r1=1131627&r2=1131628&view=diff
==============================================================================
--- incubator/mesos/trunk/src/slave.cpp (original)
+++ incubator/mesos/trunk/src/slave.cpp Sun Jun  5 03:31:51 2011
@@ -171,6 +171,8 @@ void Slave::operator () ()
   ZooKeeper *zk;
   if (!zookeeper.empty())
     zk = new ZooKeeper(zookeeper, 10000, new SlaveWatcher(this));
+#else
+  send(self(), pack<S2S_GOT_MASTER>());
 #endif
   
   FrameworkID fid;