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 2016/03/15 04:17:14 UTC

mesos git commit: Passed `Duration` as a const reference in the executor driver.

Repository: mesos
Updated Branches:
  refs/heads/master f28e86794 -> 62bf9dc18


Passed `Duration` as a const reference in the executor driver.

Review: https://reviews.apache.org/r/43763/


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

Branch: refs/heads/master
Commit: 62bf9dc18d334ae9cb95b106068a4a03e2734b9b
Parents: f28e867
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Mon Mar 14 20:16:31 2016 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Mon Mar 14 20:16:31 2016 -0700

----------------------------------------------------------------------
 src/exec/exec.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/62bf9dc1/src/exec/exec.cpp
----------------------------------------------------------------------
diff --git a/src/exec/exec.cpp b/src/exec/exec.cpp
index f8e3fd2..7417861 100644
--- a/src/exec/exec.cpp
+++ b/src/exec/exec.cpp
@@ -120,7 +120,7 @@ public:
                   bool _local,
                   const string& _directory,
                   bool _checkpoint,
-                  Duration _recoveryTimeout,
+                  const Duration& _recoveryTimeout,
                   std::recursive_mutex* _mutex,
                   Latch* _latch)
     : ProcessBase(ID::generate("executor")),