commit bb89dd91fad4b55ca51e4afe4a91634371370bd1
Author: Castulo J. Martinez <email address hidden>
Date: Sat May 21 21:21:11 2016 -0700
Fixes the use of dates when listing images
When listing images there are several optional parameters that
can be used to filter the list of images retrieved by the API. The
following two parameters are not working properly: the created_at and
the updated_at. Before the Mitaka release it was possible to use these
filters just using a datetime in the format ISO 8601, starting on
Mitaka, you need to add an operator along with the datetime stamp or
the API call fails. This commit adds backwards compatibility so it is
possible to filter the images list using only a datetime stamp without
also specifing an operator. If no operator is used an eq operator is
assumed.
Reviewed: https:/ /review. openstack. org/319682 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=bb89dd91fad 4b55ca51e4afe4a 91634371370bd1
Committed: https:/
Submitter: Jenkins
Branch: master
commit bb89dd91fad4b55 ca51e4afe4a9163 4371370bd1
Author: Castulo J. Martinez <email address hidden>
Date: Sat May 21 21:21:11 2016 -0700
Fixes the use of dates when listing images
When listing images there are several optional parameters that
can be used to filter the list of images retrieved by the API. The
following two parameters are not working properly: the created_at and
the updated_at. Before the Mitaka release it was possible to use these
filters just using a datetime in the format ISO 8601, starting on
Mitaka, you need to add an operator along with the datetime stamp or
the API call fails. This commit adds backwards compatibility so it is
possible to filter the images list using only a datetime stamp without
also specifing an operator. If no operator is used an eq operator is
assumed.
Change-Id: Id5d5455e77637e 0dc7baec25c8163 b21634d72c4
Partial-Bug: 1584415