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 02:15:05 UTC

[2/2] mesos git commit: Updated docker fetcher pluggin corresponding to the former commit.

Updated docker fetcher pluggin corresponding to the former commit.

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


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

Branch: refs/heads/master
Commit: 983154c18326a51ede3aa8105bf83f44e30f3d95
Parents: b99299c
Author: Gilbert Song <so...@gmail.com>
Authored: Thu Feb 23 18:03:08 2017 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Feb 23 18:03:08 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/983154c1/src/uri/fetchers/docker.cpp
----------------------------------------------------------------------
diff --git a/src/uri/fetchers/docker.cpp b/src/uri/fetchers/docker.cpp
index b61a71a..68f380d 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.header<http::header::WWWAuthenticate>();
+    response.headers.get<http::header::WWWAuthenticate>();
 
   if (header.isError()) {
     return Failure(