Skip to content

Commit ceae0be

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fixing typo and improving docstring of find_domain"
2 parents c8b3f23 + bfff44f commit ceae0be

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎openstackclient/identity/common.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def find_service(identity_client, name_type_or_id):
4242
def find_domain(identity_client, name_or_id):
4343
"""Find a domain.
4444
45-
If the user does not have permssions to access the v3 domain API,
46-
assume that domain given is the id rather than the name. This
47-
method is used by the project list command, so errors access the
48-
domain will be ignored and if the user has access to the project
49-
API, everything will work fine.
45+
If the user does not have permissions to access the v3 domain API, e.g.,
46+
if the user is a project admin, assume that the domain given is the id
47+
rather than the name. This method is used by the project list command,
48+
so errors accessing the domain will be ignored and if the user has
49+
access to the project API, everything will work fine.
5050
5151
Closes bugs #1317478 and #1317485.
5252
"""

0 commit comments

Comments
 (0)