You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/12/05 22:28:42 UTC

mesos git commit: Fixed `defer()` invocation in "switchboard.cpp".

Repository: mesos
Updated Branches:
  refs/heads/master 3ad066618 -> 814ed3f8e


Fixed `defer()` invocation in "switchboard.cpp".


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

Branch: refs/heads/master
Commit: 814ed3f8e487d5a85ae4678fb266a6a38f7b00e5
Parents: 3ad0666
Author: Alexander Rukletsov <al...@apache.org>
Authored: Mon Dec 5 23:24:48 2016 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Mon Dec 5 23:24:48 2016 +0100

----------------------------------------------------------------------
 src/slave/containerizer/mesos/io/switchboard.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/814ed3f8/src/slave/containerizer/mesos/io/switchboard.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/io/switchboard.cpp b/src/slave/containerizer/mesos/io/switchboard.cpp
index e340a56..19f2b62 100644
--- a/src/slave/containerizer/mesos/io/switchboard.cpp
+++ b/src/slave/containerizer/mesos/io/switchboard.cpp
@@ -536,7 +536,7 @@ Future<Nothing> IOSwitchboard::cleanup(
   infos.erase(containerId);
 
   return status
-    .then(defer, self(), [this, containerId]() {
+    .then(defer(self(), [this, containerId]() {
       // Best effort removal of the unix domain socket file created for
       // this container's `IOSwitchboardServer`. If it hasn't been
       // checkpointed yet, or the socket file itself hasn't been created,
@@ -555,7 +555,7 @@ Future<Nothing> IOSwitchboard::cleanup(
       }
 
       return Nothing();
-    });
+    }));
 #endif // __WINDOWS__
 }