← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1443721] Re: Make checking of Trust existence more DRY

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1443721

Title:
  Make checking of Trust existence more DRY

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  The code for checking if Trust exists is duplicated all over the
  controller:

  if not trust:
      raise exception.TrustNotFound(trust_id=trust_id)

  https://github.com/openstack/keystone/blob/master/keystone/trust/controllers.py#L77-L78

  to make it more DRY, remove the check in controller and move it the
  driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1443721/+subscriptions


References