Rename get_federated_user to get_and_link_federated_user_info
Better to be explicit wherever possible
This commit is contained in:
parent
1a31d98c44
commit
bd22fb255e
4 changed files with 9 additions and 9 deletions
|
@ -82,7 +82,7 @@ def sync_team(authentication, stale_team_sync):
|
|||
continue
|
||||
|
||||
# Retrieve the Quay user associated with the member info.
|
||||
(quay_user, err) = authentication.get_federated_user(member_info)
|
||||
(quay_user, err) = authentication.get_and_link_federated_user_info(member_info)
|
||||
if err is not None:
|
||||
logger.error('Could not link external user %s to an internal user: %s',
|
||||
member_info.username, err,
|
||||
|
|
Reference in a new issue