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/07/21 08:56:02 UTC

git commit: Fixed a clang compilation issue in master.cpp.

Repository: mesos
Updated Branches:
  refs/heads/master cb06d8081 -> aa5ac72f6


Fixed a clang compilation issue in master.cpp.


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

Branch: refs/heads/master
Commit: aa5ac72f6b9af482072c8500012ddd83f132ade7
Parents: cb06d80
Author: Benjamin Mahler <be...@gmail.com>
Authored: Sun Jul 20 23:22:05 2014 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Sun Jul 20 23:22:05 2014 -0700

----------------------------------------------------------------------
 src/master/master.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/aa5ac72f/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index dc60c47..896be5e 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -3123,9 +3123,9 @@ void Master::forward(
 
   if (!acknowledgee) {
     LOG(INFO) << "Sending status update " << update
-              << update.status().has_message()
-                 ? " '" + update.status().message() + "'"
-                 : "";
+              << (update.status().has_message()
+                  ? " '" + update.status().message() + "'"
+                  : "");
   } else {
     LOG(INFO) << "Forwarding status update " << update;
   }