← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1199364] Re: Property DB operations are not consistent with the rest of the API

 

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

** Changed in: glance
    Milestone: None => havana-2

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

Title:
  Property DB operations are not consistent with the rest of the API

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Property related functions are not consistent with the rest of the
  API.

  image_property_create returns a models.ImageProperty  instance instead
  of a dictionary as the image function does.

  image_property_delete receives an models.ImageProperty instance
  instead of a reference name.

  It is important to:

  1) Keep API's consistency
  2) Avoid making the DB API back-end dependent.

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