mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [3/6] mesos git commit: Used fully qualified namespace in the scheduler library for consistency.
Date Tue, 21 Nov 2017 00:54:18 GMT
Used fully qualified namespace in the scheduler library for consistency.

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


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

Branch: refs/heads/master
Commit: d3a3896201b7e8f4e44e9db57d245b18ab903454
Parents: f6359bd
Author: Greg Mann <greg@mesosphere.io>
Authored: Mon Nov 20 16:42:42 2017 -0800
Committer: Greg Mann <gregorywmann@gmail.com>
Committed: Mon Nov 20 16:49:27 2017 -0800

----------------------------------------------------------------------
 src/scheduler/scheduler.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d3a38962/src/scheduler/scheduler.cpp
----------------------------------------------------------------------
diff --git a/src/scheduler/scheduler.cpp b/src/scheduler/scheduler.cpp
index 7294f23..e354709 100644
--- a/src/scheduler/scheduler.cpp
+++ b/src/scheduler/scheduler.cpp
@@ -120,7 +120,6 @@ using process::wait; // Necessary on some OS's to disambiguate.
 using process::http::Connection;
 using process::http::Pipe;
 using process::http::post;
-using process::http::Request;
 using process::http::URL;
 
 using ::recordio::Decoder;
@@ -251,7 +250,7 @@ public:
     // to the slave, instead of relaying it through the master, as
     // the scheduler driver does.
 
-    ::Request request;
+    process::http::Request request;
     request.method = "POST";
     request.url = master.get();
     request.body = serialize(contentType, call);
@@ -538,7 +537,7 @@ protected:
     LOG(WARNING) << "Dropping " << call.type() << ": " << message;
   }
 
-  void _send(const Call& call, const Future<::Request>& future)
+  void _send(const Call& call, const Future<process::http::Request>& future)
   {
     if (!future.isReady()) {
       LOG(ERROR) << "HTTP authenticatee "
@@ -547,7 +546,7 @@ protected:
       return;
     }
 
-    ::Request request = future.get();
+    process::http::Request request = future.get();
 
     if (connections.isNone()) {
       drop(call, "Connection to master interrupted");


Mime
View raw message