diff options
| author | Victor Silva <victsou@gmail.com> | 2014-09-19 19:17:38 +0000 |
|---|---|---|
| committer | Victor Silva <victor@lsd.ufcg.edu.br> | 2014-09-19 19:51:01 +0000 |
| commit | bfff44fc172d6e84180615fa777036bd5cba35ba (patch) | |
| tree | 7780fdc1d4b2ccab335bb50055a0a0cc544f93a3 /openstackclient/identity/common.py | |
| parent | d3bee31a9d1a2c89f2200a3546ffa2b568203f94 (diff) | |
| download | python-openstackclient-bfff44fc172d6e84180615fa777036bd5cba35ba.tar.gz | |
Fixing typo and improving docstring of find_domain
This should make it easier to understand the
purpose of find_domain - I believe the reason
for which find_resource wasn't enough was not
quite clear.
Change-Id: I6a1cdfa86f52401d95c6da2cd38d7c95a140b4a1
Diffstat (limited to 'openstackclient/identity/common.py')
| -rw-r--r-- | openstackclient/identity/common.py | 10 |
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. """ |
