You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/02/24 01:04:59 UTC

[2/2] mesos git commit: Renamed http::Headers get() to header() due to the libprocess change.

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/3424a3d1
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3424a3d1
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3424a3d1

Branch: refs/heads/master
Commit: 3424a3d1e98291e5c241961a1824f0eaabf8e103
Parents: d099f8d
Author: Gilbert Song <so...@gmail.com>
Authored: Thu Feb 23 16:37:01 2017 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Feb 23 16:51:48 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/3424a3d1/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(