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 2014/09/24 02:56:49 UTC

git commit: Removed duplicate error messaging in Docker::create.

Repository: mesos
Updated Branches:
  refs/heads/master 7b6547020 -> 896ec461e


Removed duplicate error messaging in Docker::create.


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

Branch: refs/heads/master
Commit: 896ec461ec11e354ebc64221d41eb2722b0bd285
Parents: 7b65470
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Tue Sep 23 17:56:32 2014 -0700
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Tue Sep 23 17:56:32 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/896ec461/src/docker/docker.cpp
----------------------------------------------------------------------
diff --git a/src/docker/docker.cpp b/src/docker/docker.cpp
index 7f95cbf..20be6cd 100644
--- a/src/docker/docker.cpp
+++ b/src/docker/docker.cpp
@@ -132,7 +132,7 @@ Try<Docker> Docker::create(const string& path, bool validate)
   } else if (!status.get().isSome() || status.get().get() != 0) {
     string msg = "Failed to execute '" + cmd + "': ";
     if (status.get().isSome()) {
-      msg += "exited with status " + WSTRINGIFY(status.get().get());
+      msg += WSTRINGIFY(status.get().get());
     } else {
       msg += "unknown exit status";
     }