Update doc string for transform_to_group_ids

A previous change updated the implementation of this method to log
a message if the group being transformed didn't exist in the backend:

  https://review.openstack.org/#/c/597992/

This change updates the corresponding documentation string to be
accurate with the implementation.

Change-Id: Id286b3b276ee0a72ba45ac1198c21b5f2c01aa9a
This commit is contained in:
Lance Bragstad 2018-10-08 13:59:27 +00:00
parent baa3d9967c
commit 3d43b02503
1 changed files with 2 additions and 4 deletions

View File

@ -355,7 +355,8 @@ def transform_to_group_ids(group_names, mapping_id,
"""Transform groups identified by name/domain to their ids.
Function accepts list of groups identified by a name and domain giving
a list of group ids in return.
a list of group ids in return. A message is logged if the group doesn't
exist in the backend.
Example of group_names parameter::
@ -386,9 +387,6 @@ def transform_to_group_ids(group_names, mapping_id,
:returns: generator object with group ids
:raises keystone.exception.MappedGroupNotFound: in case asked group doesn't
exist in the backend.
"""
def resolve_domain(domain):
"""Return domain id.