You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2015/09/18 20:03:04 UTC

mesos git commit: Logged dynamic reservation requests.

Repository: mesos
Updated Branches:
  refs/heads/master 5f1195f8f -> 05543cf29


Logged dynamic reservation requests.

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


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

Branch: refs/heads/master
Commit: 05543cf2919b956e4fa3a4adb06b1540b9caa59f
Parents: 5f1195f
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Fri Sep 18 13:33:16 2015 -0400
Committer: Michael Park <mp...@apache.org>
Committed: Fri Sep 18 13:33:17 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/05543cf2/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 1c4e7af..0b61f11 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -785,6 +785,7 @@ void Master::initialize()
   route("/reserve",
         None(),  // TODO(mpark): Add an Http::RESERVE_HELP,
         [http](const process::http::Request& request) {
+          Http::log(request);
           return http.reserve(request);
         });
   // TODO(ijimenez): Remove this endpoint at the end of the
@@ -874,6 +875,7 @@ void Master::initialize()
   route("/unreserve",
         None(),  // TODO(mpark): Add an Http::UNRESERVE_HELP,
         [http](const process::http::Request& request) {
+          Http::log(request);
           return http.unreserve(request);
         });