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

Mismatch in the Getting Started with Identity v3 #633

@sbezverk

Description

@sbezverk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions