mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmah...@apache.org
Subject [2/6] mesos git commit: Fixed confusing logging of WSTRINGIFY in Docker wrapper.
Date Thu, 09 Jun 2016 04:13:51 GMT
Fixed confusing logging of WSTRINGIFY in Docker wrapper.

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


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

Branch: refs/heads/master
Commit: 033e026b86cbd45570c5ec8757e223a809fa27ec
Parents: 62768ce
Author: Benjamin Mahler <bmahler@apache.org>
Authored: Mon Jun 6 19:56:30 2016 -0700
Committer: Benjamin Mahler <bmahler@apache.org>
Committed: Wed Jun 8 21:13:40 2016 -0700

----------------------------------------------------------------------
 src/docker/docker.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/033e026b/src/docker/docker.cpp
----------------------------------------------------------------------
diff --git a/src/docker/docker.cpp b/src/docker/docker.cpp
index e7d66f3..f696ac4 100755
--- a/src/docker/docker.cpp
+++ b/src/docker/docker.cpp
@@ -61,8 +61,8 @@ static Future<T> failure(
     const string& err)
 {
   return Failure(
-      "Failed to '" + cmd + "': exit status = " +
-      WSTRINGIFY(status) + " stderr = " + err);
+      "Failed to run '" + cmd + "': " + WSTRINGIFY(status) +
+      "; stderr='" + err + "'");
 }
 
 


Mime
View raw message