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/06/09 04:13:51 UTC
[2/6] mesos git commit: Fixed confusing logging of WSTRINGIFY in
Docker wrapper.
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 <bm...@apache.org>
Authored: Mon Jun 6 19:56:30 2016 -0700
Committer: Benjamin Mahler <bm...@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 + "'");
}