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:20:40 UTC
svn commit: r1131545 - /incubator/mesos/trunk/src/slave_main.cpp
Author: benh
Date: Sun Jun 5 03:20:40 2011
New Revision: 1131545
URL: http://svn.apache.org/viewvc?rev=1131545&view=rev
Log:
bug: extra code that wasn't deleted
Modified:
incubator/mesos/trunk/src/slave_main.cpp
Modified: incubator/mesos/trunk/src/slave_main.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/slave_main.cpp?rev=1131545&r1=1131544&r2=1131545&view=diff
==============================================================================
--- incubator/mesos/trunk/src/slave_main.cpp (original)
+++ incubator/mesos/trunk/src/slave_main.cpp Sun Jun 5 03:20:40 2011
@@ -74,12 +74,6 @@ int main(int argc, char **argv)
string master(argv[optind]);
- istringstream iss(argv[optind]);
- if (!(iss >> master)) {
- cerr << "Failed to resolve master PID " << argv[optind] << endl;
- exit(1);
- }
-
LOG(INFO) << "Build: " << BUILD_DATE << " by " << BUILD_USER;
LOG(INFO) << "Starting Nexus slave";
PID slave = Process::spawn(new Slave(master, resources, false, isolation));