Moving network v2 to new(est) pagination idiom
diff --git a/acceptance/openstack/networking/v2/apiversion_test.go b/acceptance/openstack/networking/v2/apiversion_test.go
index 79198c5..99e1d01 100644
--- a/acceptance/openstack/networking/v2/apiversion_test.go
+++ b/acceptance/openstack/networking/v2/apiversion_test.go
@@ -5,8 +5,8 @@
import (
"testing"
- "github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/openstack/networking/v2/apiversions"
+ "github.com/rackspace/gophercloud/pagination"
th "github.com/rackspace/gophercloud/testhelper"
)
@@ -15,7 +15,7 @@
defer Teardown()
pager := apiversions.ListVersions(Client)
- err := pager.EachPage(func(page gophercloud.Page) (bool, error) {
+ err := pager.EachPage(func(page pagination.Page) (bool, error) {
t.Logf("--- Page ---")
versions, err := apiversions.ExtractAPIVersions(page)
@@ -35,7 +35,7 @@
defer Teardown()
pager := apiversions.ListVersionResources(Client, "v2.0")
- err := pager.EachPage(func(page gophercloud.Page) (bool, error) {
+ err := pager.EachPage(func(page pagination.Page) (bool, error) {
t.Logf("--- Page ---")
vrs, err := apiversions.ExtractVersionResources(page)