Repository: mesos Updated Branches: refs/heads/master 4a6e69e69 -> 836b0c2d8
Fixed a bug in slave when launching container. Review: https://reviews.apache.org/r/24440 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/836b0c2d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/836b0c2d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/836b0c2d Branch: refs/heads/master Commit: 836b0c2d85c3d7c2d7704720d28d56cec9b0be74 Parents: 4a6e69e Author: Jie Yu <[email protected]> Authored: Wed Aug 6 19:23:10 2014 -0700 Committer: Jie Yu <[email protected]> Committed: Thu Aug 7 08:54:19 2014 -0700 ---------------------------------------------------------------------- src/slave/slave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/836b0c2d/src/slave/slave.cpp ---------------------------------------------------------------------- diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp index fb40273..787bd05 100644 --- a/src/slave/slave.cpp +++ b/src/slave/slave.cpp @@ -2467,7 +2467,7 @@ void Slave::executorLaunched( << "' failed to start: " << (future.isFailed() ? future.failure() : " future discarded"); return; - } else if (future.get()) { + } else if (!future.get()) { LOG(ERROR) << "Container '" << containerId << "' for executor '" << executorId << "' of framework '" << frameworkId
