summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-09-22 07:01:33 +0000
committerGerrit Code Review <review@openstack.org>2014-09-22 07:01:33 +0000
commitceae0bed428eec212e53e41c6669eefebad81b59 (patch)
treeb8eefb759a75b1d5282817171964abc0d9cbdd59 /openstackclient
parentc8b3f2373387106b577fade2d00107677b7df619 (diff)
parentbfff44fc172d6e84180615fa777036bd5cba35ba (diff)
downloadpython-openstackclient-ceae0bed428eec212e53e41c6669eefebad81b59.tar.gz
Merge "Fixing typo and improving docstring of find_domain"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/common.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/identity/common.py b/openstackclient/identity/common.py
index 48dc0c89..253729bd 100644
--- a/openstackclient/identity/common.py
+++ b/openstackclient/identity/common.py
@@ -42,11 +42,11 @@ def find_service(identity_client, name_type_or_id):
def find_domain(identity_client, name_or_id):
"""Find a domain.
- If the user does not have permssions to access the v3 domain API,
- assume that domain given is the id rather than the name. This
- method is used by the project list command, so errors access the
- domain will be ignored and if the user has access to the project
- API, everything will work fine.
+ If the user does not have permissions to access the v3 domain API, e.g.,
+ if the user is a project admin, assume that the domain given is the id
+ rather than the name. This method is used by the project list command,
+ so errors accessing the domain will be ignored and if the user has
+ access to the project API, everything will work fine.
Closes bugs #1317478 and #1317485.
"""