Small renames to make team syncing code more clear

This commit is contained in:
Joseph Schorr 2017-03-20 16:49:20 -04:00
parent 7f0aa19292
commit 103186f5e8
3 changed files with 7 additions and 7 deletions

View file

@ -385,9 +385,9 @@ def confirm_team_invite(code, user_obj):
return (team, inviter)
def list_federated_team_members(team, login_service_name):
def get_federated_team_member_mapping(team, login_service_name):
""" Returns a dict of all federated IDs for all team members in the team whose users are
bound to the login service withn the given name. The dictionary is from federated service
bound to the login service within the given name. The dictionary is from federated service
identifier (username) to their Quay User table ID.
"""
login_service = LoginService.get(name=login_service_name)