Repository: mesos
Updated Branches:
  refs/heads/1.2.x 637b3c6ee -> b411da4e6


Renamed http::Headers get() to header() due to the libprocess change.

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


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

Branch: refs/heads/1.2.x
Commit: b411da4e6b3d749ebd4869a3f5b7edbed90e4c73
Parents: 75340d7
Author: Gilbert Song <[email protected]>
Authored: Thu Feb 23 16:37:01 2017 -0800
Committer: Jie Yu <[email protected]>
Committed: Thu Feb 23 17:05:49 2017 -0800

----------------------------------------------------------------------
 src/uri/fetchers/docker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/b411da4e/src/uri/fetchers/docker.cpp
----------------------------------------------------------------------
diff --git a/src/uri/fetchers/docker.cpp b/src/uri/fetchers/docker.cpp
index 68f380d..b61a71a 100644
--- a/src/uri/fetchers/docker.cpp
+++ b/src/uri/fetchers/docker.cpp
@@ -643,7 +643,7 @@ Future<http::Headers> 
DockerFetcherPluginProcess::getAuthHeader(
     const http::Response& response)
 {
   Result<http::header::WWWAuthenticate> header =
-    response.headers.get<http::header::WWWAuthenticate>();
+    response.headers.header<http::header::WWWAuthenticate>();
 
   if (header.isError()) {
     return Failure(

Reply via email to