storage_utils: store user uuids in proper cache

This commit is contained in:
Nicolas Dandrimont 2016-03-17 17:44:45 +01:00
parent 50d562e250
commit cf3dfc62c0

View file

@ -115,7 +115,7 @@ def user_last_modified(storage, id):
}]))[0]
if entity['uuid']:
cache.set_repo(id, entity['uuid'])
cache.set_user(id, entity['uuid'])
updated_at = entity.get('lister_metadata', {}).get('updated_at')