~hudson-openstack/glance/trunk

Viewing all changes in revision 156.

  • Committer: Tarmac
  • Author(s): Justin Shepherd
  • Date: 2011-07-21 12:42:38 UTC
  • mfrom: (154.2.4 duplicate_image_upload)
  • Revision ID: tarmac-20110721124238-ott8wv04xqch0h54
Added fix for Bug #813291: POST to /images setting x-image-meta-id to an already existing image id causes a 500 error.

I came up with about 3 or 4 different ways of resolving this bug, and all tests pass. Let me know if you think this should be resolved in a different way.

This branch also includes a test in tests/functional/test_httplib2_api.py that shows the 500 error.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: