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 2017/08/24 00:25:40 UTC

[7/8] mesos git commit: Added a missing return statement from 45c2444ad.

Added a missing return statement from 45c2444ad.

This commit missed a return statement, which leads to a misleading
log message that the task cannot be killed due to the executor not
being found.


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

Branch: refs/heads/1.4.x
Commit: 1fb194442cec9fb84546eecc66f550e824c8f065
Parents: 43ac26f
Author: Benjamin Mahler <bm...@apache.org>
Authored: Wed Aug 23 17:14:42 2017 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Wed Aug 23 17:17:32 2017 -0700

----------------------------------------------------------------------
 src/slave/slave.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1fb19444/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index bcf5127..a0abb6d 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -2980,6 +2980,8 @@ void Slave::killTask(
       // launched.
       statusUpdate(update, UPID());
     }
+
+    return;
   }
 
   Executor* executor = framework->getExecutor(taskId);