Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 391dae2

Browse filesBrowse files
authored
Update the doc of openstack.AuthOptionsFromEnv function
If OS_PROJECT_NAME is set, it requires the domain to be set as well to get unique project entity on the identity service (keystone). Signed-off-by: Zhiwei Huang <ai.william@outlook.com>
1 parent b4b38ba commit 391dae2
Copy full SHA for 391dae2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎openstack/auth_env.go

Copy file name to clipboardExpand all lines: openstack/auth_env.go
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.