You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2015/09/23 23:49:44 UTC

mesos git commit: Fixed style issue in src/master/http.cpp.

Repository: mesos
Updated Branches:
  refs/heads/master ce900da3d -> 6c84cbd7f


Fixed style issue in src/master/http.cpp.


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

Branch: refs/heads/master
Commit: 6c84cbd7f504ce11c81ae1682e2db706b8adec51
Parents: ce900da
Author: Niklas Q. Nielsen <ni...@mesosphere.io>
Authored: Wed Sep 23 14:45:52 2015 -0700
Committer: Niklas Q. Nielsen <ni...@mesosphere.io>
Committed: Wed Sep 23 14:49:05 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/6c84cbd7/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index a92c276..cd37c91 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -1772,12 +1772,14 @@ Future<Response> Master::Http::maintenanceStatus(const Request& request) const
                 SlaveID,
                 hashmap<FrameworkID, mesos::master::InverseOfferStatus>> result)
           -> Future<Response> {
-
     // Unwrap the master's machine information into two arrays of machines.
     // The data is coming from the allocator and therefore could be stale.
     // Also, if the master fails over, this data is cleared.
     mesos::maintenance::ClusterStatus status;
-    foreachpair (const MachineID& id, const Machine& machine, master->machines) {
+    foreachpair (
+        const MachineID& id,
+        const Machine& machine,
+        master->machines) {
       switch (machine.info.mode()) {
         case MachineInfo::DRAINING: {
           mesos::maintenance::ClusterStatus::DrainingMachine* drainingMachine =