Skip to content

Commit af02ce6

Browse files
Merge pull request #3387 from gophercloud/bp-v2-eb5a579
[v2] Update the doc of openstack.AuthOptionsFromEnv function
2 parents b4b38ba + 391dae2 commit af02ce6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstack/auth_env.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ OS_PROJECT_NAME and the latter are expected against a v3 auth api.
2424
If OS_PROJECT_ID and OS_PROJECT_NAME are set, they will still be referred
2525
as "tenant" in Gophercloud.
2626
27-
If OS_PROJECT_NAME is set, it requires OS_PROJECT_ID to be set as well to
28-
handle projects not on the default domain.
27+
If OS_PROJECT_NAME is set, it requires OS_DOMAIN_ID or OS_DOMAIN_NAME to be
28+
set as well to handle projects not on the default domain.
2929
3030
To use this function, first set the OS_* environment variables (for example,
3131
by sourcing an `openrc` file), then:

0 commit comments

Comments
 (0)