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 <[email protected]> Authored: Thu Feb 23 16:37:01 2017 -0800 Committer: Jie Yu <[email protected]> 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(
