deps: update module github.com/gophercloud/gophercloud to v2 (#3300)

* deps: update module github.com/gophercloud/gophercloud to v2

* update module github.com/gophercloud/utils to v2 and add context

Signed-off-by: Daniel Weiße <dw@edgeless.systems>

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
renovate[bot] 2024-08-08 10:37:09 +02:00 committed by GitHub
parent 8b256f20b8
commit 087855ec00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 60 additions and 59 deletions

View file

@ -10,10 +10,10 @@ import (
"context"
"github.com/edgelesssys/constellation/v2/internal/role"
"github.com/gophercloud/gophercloud/openstack/compute/v2/servers"
"github.com/gophercloud/gophercloud/openstack/networking/v2/networks"
"github.com/gophercloud/gophercloud/openstack/networking/v2/subnets"
"github.com/gophercloud/gophercloud/pagination"
"github.com/gophercloud/gophercloud/v2/openstack/compute/v2/servers"
"github.com/gophercloud/gophercloud/v2/openstack/networking/v2/networks"
"github.com/gophercloud/gophercloud/v2/openstack/networking/v2/subnets"
"github.com/gophercloud/gophercloud/v2/pagination"
)
type stubIMDSClient struct {
@ -90,6 +90,6 @@ type stubPager struct {
allPagesErr error
}
func (p *stubPager) AllPages() (pagination.Page, error) {
func (p *stubPager) AllPages(_ context.Context) (pagination.Page, error) {
return p.page, p.allPagesErr
}