Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit c824f88

Browse files
committed
fix CI validations failures
* remove reference to "errors" from tenants/requests.go * fix typo in tenants/results.go
1 parent cb3209f commit c824f88

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

openstack/identity/v2/tenants/requests.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package tenants
22

33
import (
4-
"errors"
5-
64
"github.com/rackspace/gophercloud"
75
"github.com/rackspace/gophercloud/pagination"
86
)

openstack/identity/v2/tenants/results.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type commonResult struct {
6666
}
6767

6868
// Extract interprets any commonResult as a Tenant, if possible.
69-
func (r commonResult) Extract() (*User, error) {
69+
func (r commonResult) Extract() (*Tenant, error) {
7070
if r.Err != nil {
7171
return nil, r.Err
7272
}

0 commit comments

Comments
 (0)