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

Mismatch in the Getting Started with Identity v3 #633

Open
sbezverk opened this issue Jun 19, 2017 · 1 comment
Open

Mismatch in the Getting Started with Identity v3 #633

sbezverk opened this issue Jun 19, 2017 · 1 comment

Comments

@sbezverk
Copy link

from the example taken line of code,
client, err := openstack.NewIdentityV3(provider, gophercloud.EndpointOpts{
Region: "RegionOne",
})
when compiled, generates this error:
./main.go:86: assignment count mismatch: 2 = 1
./main.go:88: too many arguments in call to openstack.NewIdentityV3
have (*gophercloud.ProviderClient, gophercloud.EndpointOpts)
want (*gophercloud.ProviderClient)

Please advise where the issue is.

@sbezverk
Copy link
Author

also openstack.NewIdentityV3 call does not return err as it is mentioned in the documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant