You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2013/05/26 18:57:53 UTC

[28/28] git commit: Fixed output bug with CHECK_SOME.

Fixed output bug with CHECK_SOME.

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


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

Branch: refs/heads/master
Commit: 023e431e8944a2bd9293b49ebefe47eede9baae0
Parents: 7b36ed5
Author: Benjamin Hindman <be...@twitter.com>
Authored: Mon Jan 14 15:47:43 2013 -0800
Committer: Benjamin Hindman <be...@twitter.com>
Committed: Sun May 26 09:28:38 2013 -0700

----------------------------------------------------------------------
 src/logging/check_some.hpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mesos/blob/023e431e/src/logging/check_some.hpp
----------------------------------------------------------------------
diff --git a/src/logging/check_some.hpp b/src/logging/check_some.hpp
index 8c8e136..cbfd78b 100644
--- a/src/logging/check_some.hpp
+++ b/src/logging/check_some.hpp
@@ -83,12 +83,12 @@ struct _CheckSome
       expression(_expression),
       error(_error)
   {
-    out << "CHECK_SOME(" << expression << ") failed: ";
+    out << "CHECK_SOME(" << expression << "): ";
   }
 
   ~_CheckSome()
   {
-    out << ": " << error;
+    out << error;
     google::LogMessageFatal(file.c_str(), line).stream() << out.str();
   }