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 10:30:37 UTC

svn commit: r1132060 - /incubator/mesos/trunk/src/master/master.cpp

Author: benh
Date: Sun Jun  5 08:30:37 2011
New Revision: 1132060

URL: http://svn.apache.org/viewvc?rev=1132060&view=rev
Log:
Small extra fix needed to change default value of root_submissions to true

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

Modified: incubator/mesos/trunk/src/master/master.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/master/master.cpp?rev=1132060&r1=1132059&r2=1132060&view=diff
==============================================================================
--- incubator/mesos/trunk/src/master/master.cpp (original)
+++ incubator/mesos/trunk/src/master/master.cpp Sun Jun  5 08:30:37 2011
@@ -306,7 +306,7 @@ void Master::operator () ()
         break;
       }
 
-      bool rootSubmissions = conf.get<bool>("root_submissions", false);
+      bool rootSubmissions = conf.get<bool>("root_submissions", true);
       if (framework->user == "root" && rootSubmissions == false) {
         LOG(INFO) << framework << " registering as root, but "
                   << "root submissions are disabled on this cluster";