commit | 72e4d2caef9446c4ac5e5eb059929da38773b9c9 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:27:30 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:27:30 2014 -0400 |
tree | 5ad61fca7c9b114522573a0d5e031081ec6f40f2 | |
parent | b8b16f82c085caf37ee4dfa14da67a911164a76c [diff] [blame] |
Rename Result.Headers to Result.Header. This way, it's consistent with http.Header in the response.
diff --git a/pagination/http.go b/pagination/http.go index d3bd490..ba2c615 100644 --- a/pagination/http.go +++ b/pagination/http.go
@@ -39,8 +39,8 @@ return PageResult{ Result: gophercloud.Result{ - Body: parsedBody, - Headers: resp.Header, + Body: parsedBody, + Header: resp.Header, }, URL: *resp.Request.URL, }, err