commit | b8b16f82c085caf37ee4dfa14da67a911164a76c | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:19:49 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:19:49 2014 -0400 |
tree | a6ce8e626441276a19e137398e04512d3e3153de | |
parent | d3dc254a81133743620b6cecf3cfad828af2c2df [diff] [blame] |
Base a pagination.PageResult on gophercloud.Result.
diff --git a/pagination/single_test.go b/pagination/single_test.go index 31003e5..8817d57 100644 --- a/pagination/single_test.go +++ b/pagination/single_test.go
@@ -45,7 +45,7 @@ fmt.Fprintf(w, `{ "ints": [1, 2, 3] }`) }) - createPage := func(r LastHTTPResponse) Page { + createPage := func(r PageResult) Page { return SinglePageResult{SinglePageBase(r)} }