Browse Source

Merge "Fix UserNotFound exception for expiring groups" into stable/ussuri

changes/14/760614/1
Zuul 10 months ago
committed by Gerrit Code Review
parent
commit
2ea9d35692
  1. 2
      keystone/identity/shadow_backends/sql.py

2
keystone/identity/shadow_backends/sql.py

@ -230,7 +230,7 @@ class ShadowUsers(base.ShadowUsersDriverBase):
if not user:
# Note(knikolla): This shouldn't really ever happen, since
# this requires the user to already be logged in.
raise exception.UserNotFound()
raise exception.UserNotFound(user_id=user_id)
return user
with sql.session_for_write() as session:

Loading…
Cancel
Save